Class SystemVersionUsageAttribute
Use this attribute on fields and properties of type Version to indicate which properties should be displayed.
Inherited Members
Namespace: Unity.Properties.UI
Syntax
public class SystemVersionUsageAttribute : InspectorAttribute, _Attribute
Constructors
SystemVersionUsageAttribute(SystemVersionUsage)
Constructs a new instance of SystemVersionUsageAttribute with the provided usage.
Declaration
public SystemVersionUsageAttribute(SystemVersionUsage usage = SystemVersionUsage.MajorMinorBuildRevision)
Parameters
Type | Name | Description |
---|---|---|
SystemVersionUsage | usage | The indented usage of the Version type. |
Properties
IncludeBuild
Declaration
public bool IncludeBuild { get; }
Property Value
Type | Description |
---|---|
Boolean |
IncludeRevision
Declaration
public bool IncludeRevision { get; }
Property Value
Type | Description |
---|---|
Boolean |
Usage
Returns the information about how a Version should be displayed.
Declaration
public SystemVersionUsage Usage { get; }
Property Value
Type | Description |
---|---|
SystemVersionUsage |