EntitySchemaProperty<TEntity> Constructor |
Initializes a new instance.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic EntitySchemaProperty(
string name,
Type type,
EntityPropertyGetter<TEntity> getter,
EntityPropertySetter<TEntity> setter
)
Public Sub New (
name As String,
type As Type,
getter As EntityPropertyGetter(Of TEntity),
setter As EntityPropertySetter(Of TEntity)
)
public:
EntitySchemaProperty(
String^ name,
Type^ type,
EntityPropertyGetter<TEntity>^ getter,
EntityPropertySetter<TEntity>^ setter
)
new :
name : string *
type : Type *
getter : EntityPropertyGetter<'TEntity> *
setter : EntityPropertySetter<'TEntity> -> EntitySchemaProperty
Parameters
- name
- Type: System.String
The name of the property. - type
- Type: System.Type
The type of the property. - getter
- Type: AGI.Foundation.Tracking.EntityPropertyGetter<TEntity>
A callback to get the value of the property. - setter
- Type: AGI.Foundation.Tracking.EntityPropertySetter<TEntity>
A callback to set the value of the property.
See Also