Class ObservableAttribute
Attribute that signals that the property or class. it is applied to, should be interpreted as an observable.
Inheritance
System.Object
ObservableAttribute
Namespace: Cortex.Net.Api
Assembly: Cortex.Net.dll
Syntax
public class ObservableAttribute : Attribute
Constructors
| Improve this Doc View SourceObservableAttribute()
Initializes a new instance of the ObservableAttribute class.
Declaration
public ObservableAttribute()
ObservableAttribute(String)
Initializes a new instance of the ObservableAttribute class.
Declaration
public ObservableAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the observable. |
ObservableAttribute(String, Type)
Initializes a new instance of the ObservableAttribute class.
Declaration
public ObservableAttribute(string name, Type enhancerType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the observable. |
Type | enhancerType | The type of the enhancer. |
ObservableAttribute(Type)
Initializes a new instance of the ObservableAttribute class.
Declaration
public ObservableAttribute(Type enhancerType)
Parameters
Type | Name | Description |
---|---|---|
Type | enhancerType | The type of the enhancer. |
Properties
| Improve this Doc View SourceEnhancerType
Gets the Type of the enhancer to use.
Declaration
public Type EnhancerType { get; }
Property Value
Type | Description |
---|---|
Type |
Name
Gets the Name of the observable.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |