VGProfileAttributeDefinitionT Class |
Namespace: Novalys.VisualGuard.Security.CommonProfileAttribute
[SerializableAttribute] public abstract class VGProfileAttributeDefinition<T> : VGIProfileAttributeDefinition
The VGProfileAttributeDefinitionT type exposes the following members.
Name | Description | |
---|---|---|
VGProfileAttributeDefinitionT | Initializes a new instance of the VGProfileAttributeDefinitionT class |
Name | Description | |
---|---|---|
AttributeDefinitionDescription |
ProfileAttribute definition description
| |
DataTypeEnum |
DataType Enum value of the ProfileAttribute
| |
DefaultValue |
DefaultValue for the attribute
| |
IsDefaultValueSupported |
IsDefaultValue supported for attribute
|
Name | Description | |
---|---|---|
CanParse |
returns true if attribute value can be parsed else false.
| |
CheckValue(T) |
Checks value agains parameters or criterias set for the attribute.
| |
CheckValue(Object, Exception) |
Checks value agains parameters or criterias set for the attribute.
| |
CheckValue(T, Exception) |
Checks value agains parameters set for the attribute.
ex. MinValue, MaxValue specified for integer attribute. Then passed value is within range of MinValue and MaxValue.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDefaultValue |
Gets default value for attribute
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse |
Parses the Attribute Value based on its type
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateAttributeDefinition |
Validates Attribute definition object.
ex. If Default value of the attribute meets criteria, MinValue is greaterthan MaxValue. or any specific condition for attribute definition object.
| |
ValidateAttributeDefinitionCore |
When the customer changes the object, before to save in database, we check if the data is correct.
It Validates Attribute definition. ex. If Default value of the attribute meets criteria, or any specific condition for attribute definition object.
| |
ValidateAttributeValue |
Validates attribute value against its datatype, if attribute value passed is corresponding to attribute's datatype.
ex. For Integer attribute, passed value is integer or other datatype (double, string )
|
Name | Description | |
---|---|---|
_datatypeEnum | ||
_isDefaultValueSupported |