Table of Contents

Class DataStyleAttribute

Namespace
Stride.Core
Assembly
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.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property|AttributeTargets.Field)]
public class DataStyleAttribute : Attribute
Inheritance
DataStyleAttribute
Inherited Members

Constructors

DataStyleAttribute(DataStyle)

Initializes a new instance of the DataStyleAttribute class.

public DataStyleAttribute(DataStyle style)

Parameters

style DataStyle

The style.

DataStyleAttribute(ScalarStyle)

Initializes a new instance of the DataStyleAttribute class.

public DataStyleAttribute(ScalarStyle scalarStyle)

Parameters

scalarStyle ScalarStyle

Properties

ScalarStyle

Gets the style.

public ScalarStyle ScalarStyle { get; }

Property Value

ScalarStyle

The style.

Style

Gets the style.

public DataStyle Style { get; }

Property Value

DataStyle

The style.