Class VersionAttributeBase
Specifies the version of an element, and also serves as the base class for attributes that describe a Version value for an element.
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
public abstract class VersionAttributeBase : Attribute, IValueAttribute<Version>
Constructors
| Edit this page View SourceVersionAttributeBase(double)
Initializes a new instance of the VersionAttributeBase class.
Declaration
protected VersionAttributeBase(double version)
Parameters
Type | Name | Description |
---|---|---|
double | version | Version number in |
VersionAttributeBase(int, int)
Initializes a new instance of the VersionAttributeBase class.
Declaration
protected VersionAttributeBase(int major, int minor)
Parameters
Type | Name | Description |
---|---|---|
int | major | Major version number. |
int | minor | Minor version number. |
VersionAttributeBase(int, int, int, int)
Initializes a new instance of the VersionAttributeBase class.
Declaration
protected VersionAttributeBase(int major, int minor, int build, int rev)
Parameters
Type | Name | Description |
---|---|---|
int | major | Major version number. |
int | minor | Minor version number. |
int | build | Build number. |
int | rev | Revision number. |
Properties
| Edit this page View SourceValue
Gets the value associated with this attribute.
Declaration
public Version Value { get; }
Property Value
Type | Description |
---|---|
Version | The value of this attribute. |