Class AvailableSinceVersionAttribute
Gives the version since when an interface, method, ... is available.
Implements
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface)]
public class AvailableSinceVersionAttribute : Attribute, _Attribute
Constructors
AvailableSinceVersionAttribute(Int32, Int32, Int32, Int32)
Initializes a new instance of the AvailableSinceVersionAttribute class.
Declaration
public AvailableSinceVersionAttribute(int inMajor, int inMinor, int inBuild, int inRevision)
Parameters
Type | Name | Description |
---|---|---|
Int32 | inMajor | Major number must be within [0,20]. |
Int32 | inMinor | Minor number must be within [0,99]. |
Int32 | inBuild | Build number must be within [0,999]. |
Int32 | inRevision | Revision number must be within [0,999]. |
Properties
Version
Gets the version, as ((Major * 100 + Minor) * 1000 + Build) * 1000 + Revision.
Declaration
public int Version { get; }
Property Value
Type | Description |
---|---|
Int32 |
VersionText
Gets the version, as "[Major].[Minor].[Build].[Revision]".
Declaration
public string VersionText { get; }
Property Value
Type | Description |
---|---|
String |