DataStyleAttribute Class
Namespace: Stride.CoreAssembly: Stride.Core.dll
An attribute to modify the output style of a sequence or mapping. This attribute can be apply directly on a type or on a property/field.
System.Object → System.Attribute →
DataStyleAttribute
Derived from DataStyleAttribute:
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field)]
public class DataStyleAttribute : Attribute
| Name | Description | |
|---|---|---|
| Constructors | ||
| DataStyleAttribute(DataStyle) | Initializes a new instance of the DataStyleAttribute class. |
|
| DataStyleAttribute(ScalarStyle) | Initializes a new instance of the DataStyleAttribute class. |
|
| Properties | ||
| ScalarStyle | Gets the style. |
|
| Style | Gets the style. |
|
Constructors
DataStyleAttribute(DataStyle)
Initializes a new instance of the DataStyleAttribute class.
public DataStyleAttribute(DataStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| DataStyle | style | The style. |
DataStyleAttribute(ScalarStyle)
Initializes a new instance of the DataStyleAttribute class.
public DataStyleAttribute(ScalarStyle scalarStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| ScalarStyle | scalarStyle |
Properties
ScalarStyle
Gets the style.
public ScalarStyle ScalarStyle { get; }
Property Value
| Type | Description |
|---|---|
| ScalarStyle | The style. |
Style
Gets the style.
public DataStyle Style { get; }
Property Value
| Type | Description |
|---|---|
| DataStyle | The style. |
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId