Field
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Represents a license field used to store key value pairs in a license.
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Field()
Specialized default constructor for use only by derived class.
Field(string, string)
Initializes a new instance of the class with the given name and value.
Parameters
Examples
Exceptions
Name | Description |
---|---|
Thrown when one or more required arguments are null. |
Field(string)
Initializes a new instance of the class with the given field name.
Parameters
Name | Description |
---|---|
| The field name. |
Exceptions
Name | Description |
---|---|
Thrown when the parameter name is null. |
Field(Field)
Copy constructor.
Parameters
Name | Description |
---|---|
| The Field object to copy. |
Exceptions
Name | Description |
---|---|
Thrown when the parameter other to copy is null. |
Properties
Id
Gets or sets the field identifier.
Property Value
Listeners
Gets the listeners.
Property Value
Name
Gets or sets the field name.
Property Value
Value
Gets or sets the field value.
Property Value
Methods
Attach(IObjectListener)
Attaches the given listener.
Parameters
Name | Description |
---|---|
| The listener. |
Exceptions
Name | Description |
---|---|
Thrown when one or more required arguments are null. |
Detach(IObjectListener)
Detaches the given listener.
Parameters
Name | Description |
---|---|
| The listener. |
Exceptions
Name | Description |
---|---|
Thrown when one or more required arguments are null. |
Notify(params object[])
Notifies registered listeners.
Parameters
Name | Description |
---|---|
| A variable-length parameters list containing arguments. |
Last updated