s&box docs
API ReferenceFacepunch.ActionGraphs

public class Facepunch.ActionGraphs.PropertyDefinition

Describes a property of a node that should be configurable in the inspector.

Constructors

Showing 2 constructors

Methods

Showing 4 methods

public void Deconstruct(string Name, System.Type Type, Facepunch.ActionGraphs.PropertyFlags Flags, Facepunch.ActionGraphs.DisplayInfo Display, object Default, System.Type GenericParameter, System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Attributes)

protected virtual bool PrintMembers(System.Text.StringBuilder builder)

Properties

Showing 11 properties

public virtual sealed System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Facepunch.ActionGraphs.PropertyDefinition.Attributes { get; set; }

public object Facepunch.ActionGraphs.PropertyDefinition.Default { get; set; }

If `Facepunch.ActionGraphs.PropertyDefinition.IsRequired` is false, this value will be used when no value is provided.

public virtual sealed Facepunch.ActionGraphs.DisplayInfo Facepunch.ActionGraphs.PropertyDefinition.Display { get; set; }

Optional title and description of the property.

public System.Type Facepunch.ActionGraphs.PropertyDefinition.GenericParameter { get; set; }

If `Facepunch.ActionGraphs.PropertyDefinition.Type` is `System.Type`, can hold a generic parameter constraining the type.

public virtual sealed bool Facepunch.ActionGraphs.PropertyDefinition.IsMissing { get; set; }

public virtual sealed bool Facepunch.ActionGraphs.PropertyDefinition.IsRequired { get; set; }

public virtual sealed string Facepunch.ActionGraphs.PropertyDefinition.Name { get; set; }

Name used to reference this property.

public virtual sealed System.Type Facepunch.ActionGraphs.PropertyDefinition.Type { get; set; }

What type is accepted for this property.

Metadata

FieldValue
NamespaceFacepunch.ActionGraphs
Typeclass
AssemblyFacepunch.ActionGraphs
Doc IDT:Facepunch.ActionGraphs.PropertyDefinition

On this page

Constructorsprotected PropertyDefinition(Facepunch.ActionGraphs.PropertyDefinition original)public PropertyDefinition(System.String Name, System.Type Type, Facepunch.ActionGraphs.PropertyFlags Flags, Facepunch.ActionGraphs.DisplayInfo Display, System.Object Default = null, System.Type GenericParameter = null, System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Attributes = null)Methodspublic virtual Facepunch.ActionGraphs.PropertyDefinition <Clone>$()public System.Void Deconstruct(System.String Name, System.Type Type, Facepunch.ActionGraphs.PropertyFlags Flags, Facepunch.ActionGraphs.DisplayInfo Display, System.Object Default, System.Type GenericParameter, System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Attributes)public static Facepunch.ActionGraphs.PropertyDefinition Missing(System.String name)protected virtual System.Boolean PrintMembers(System.Text.StringBuilder builder)Propertiespublic System.Boolean Facepunch.ActionGraphs.PropertyDefinition.AlwaysSerialize { get; set; }public virtual sealed System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Facepunch.ActionGraphs.PropertyDefinition.Attributes { get; set; }public System.Object Facepunch.ActionGraphs.PropertyDefinition.Default { get; set; }public virtual sealed Facepunch.ActionGraphs.DisplayInfo Facepunch.ActionGraphs.PropertyDefinition.Display { get; set; }protected virtual System.Type Facepunch.ActionGraphs.PropertyDefinition.EqualityContract { get; set; }public Facepunch.ActionGraphs.PropertyFlags Facepunch.ActionGraphs.PropertyDefinition.Flags { get; set; }public System.Type Facepunch.ActionGraphs.PropertyDefinition.GenericParameter { get; set; }public virtual sealed System.Boolean Facepunch.ActionGraphs.PropertyDefinition.IsMissing { get; set; }public virtual sealed System.Boolean Facepunch.ActionGraphs.PropertyDefinition.IsRequired { get; set; }public virtual sealed System.String Facepunch.ActionGraphs.PropertyDefinition.Name { get; set; }public virtual sealed System.Type Facepunch.ActionGraphs.PropertyDefinition.Type { get; set; }Metadata