Click or drag to resize

VGProfileAttributeDefinitionT Class

Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionT
    More...

Namespace:  Novalys.VisualGuard.Security.CommonProfileAttribute
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
[SerializableAttribute]
public abstract class VGProfileAttributeDefinition<T> : VGIProfileAttributeDefinition

Type Parameters

T

The VGProfileAttributeDefinitionT type exposes the following members.

Constructors
  NameDescription
Protected methodVGProfileAttributeDefinitionT
Initializes a new instance of the VGProfileAttributeDefinitionT class
Top
Properties
  NameDescription
Public propertyAttributeDefinitionDescription
ProfileAttribute definition description
Public propertyDataTypeEnum
DataType Enum value of the ProfileAttribute
Public propertyDefaultValue
DefaultValue for the attribute
Public propertyIsDefaultValueSupported
IsDefaultValue supported for attribute
Top
Methods
  NameDescription
Public methodCanParse
returns true if attribute value can be parsed else false.
Public methodCheckValue(T)
Checks value agains parameters or criterias set for the attribute.
Public methodCheckValue(Object, Exception)
Checks value agains parameters or criterias set for the attribute.
Public methodCheckValue(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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDefaultValue
Gets default value for attribute
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse
Parses the Attribute Value based on its type
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateAttributeDefinition
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.
Protected methodValidateAttributeDefinitionCore
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.
Public methodValidateAttributeValue
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 )
Top
Fields
See Also
Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionT
    Novalys.VisualGuard.Security.CommonProfileAttribute.ProfileDefinitionVGProfileAttributeDefinitionImage
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionBoolean
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionDateTime
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionDouble
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionDropDownList
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionInteger
    Novalys.VisualGuard.Security.CommonProfileAttributeVGProfileAttributeDefinitionString