The PinAttribute type exposes the following members.

Constructors

  NameDescription
Public methodPinAttribute
Initializes a new instance of the PinAttribute class

Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

Properties

  NameDescription
Public propertyAllowDefault
Gets or sets a value that indicates whether the property, field, or parameter will be set to its type's default value when an export with the contract name is not present in the container.
(Inherited from ImportAttribute.)
Public propertyAllowRecomposition
Gets or sets a value that indicates whether the property or field will be recomposed when exports with a matching contract have changed in the container.
(Inherited from ImportAttribute.)
Public propertyAsInt
Displays the value of this pin as an integer in the gui, regardless of the actual type.
Public propertyContractName
Gets the contract name of the export to import.
(Inherited from ImportAttribute.)
Public propertyContractType
Gets the type of the export to import.
(Inherited from ImportAttribute.)
Public propertyDefaultColor
Array of rgba values in the range [0..1] to define the default color.
Public propertyDefaultEnumEntry
String representation of the default enum entry for this pin.
Public propertyDefaultString
Default string for this string pin.
Public propertyDefaultValue
Default value for this value pin.
Public propertyDefaultValues
Array of default values for vector pins.
Public propertyDimensionNames
Array of names shown in the gui for each dimension of vector pins.
Public propertyEnumName
Name of the dynamic enum, only needed for EnumEntry type.
Public propertyFileMask
Filemask in the form of: "Audio File (*.wav, *.mp3)|*.wav;*.mp3".
Public propertyHasAlpha
Use alpha channel for this color pin.
Public propertyIsBang
Converts a bool pin from toggle to bang.
Public propertyIsPinGroup
Converts an ISpread<ISpread<T>> from a bin sized spread to a dynamic pin group.
Public propertyIsSingle
Determines whether the pin supports only one slice.
Public propertyLazy
Whether to do lazy loading. The user is responsible to call Load(). This is not supported by all classes, so you might get a NotImplementedException. Note: Classes of type ISpread<ISpread<T>> do the lazy loading automatically if enabled.
Public propertyMaxChars
Maximum length of the string for this pin.
Public propertyMaxValue
Maximum value for this value pin in the gui.
Public propertyMinValue
Minimum value for this value pin in the gui.
Public propertyName
The name of this pin
Public propertyOrder
The order property helps the node to arrange its pins visually. The higher the order, the more right the pin appears on the node.
Public propertyRequiredCreationPolicy
Gets or sets a value that indicates that the importer requires a specific CreationPolicy for the exports used to satisfy this import.
(Inherited from ImportAttribute.)
Public propertySliceMode
Slice mode of the pin.
Public propertyStepSize
Step size when dragging the value of this pin in the gui.
Public propertyStringType
Set a special string type for this string pin.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyVisibility
The visibility of the pin in the patch and inspektor.

See Also