C# Class ExoModel.ModelReferenceProperty

Inheritance: ModelProperty
Datei anzeigen Open project: vc3/ExoModel Class Usage Examples

Public Methods

Method Description
GetInstances ( ModelInstance instance ) : IEnumerable

Enumerates over the set of instances represented by the current step.

Protected Methods

Method Description
GetFormattedValue ( ModelInstance instance, string format ) : string

Gets the formatted value of the property for the specified instance.

GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string

Gets the formatted value of the property for the specified instance.

ModelReferenceProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : System

Method Details

GetFormattedValue() protected method

Gets the formatted value of the property for the specified instance.
protected GetFormattedValue ( ModelInstance instance, string format ) : string
instance ModelInstance
format string
return string

GetFormattedValue() protected method

Gets the formatted value of the property for the specified instance.
protected GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string
instance ModelInstance
format string
provider IFormatProvider
return string

GetInstances() public method

Enumerates over the set of instances represented by the current step.
public GetInstances ( ModelInstance instance ) : IEnumerable
instance ModelInstance
return IEnumerable

ModelReferenceProperty() protected method

protected ModelReferenceProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : System
declaringType ModelType
name string
label string
helptext string
format string
isStatic bool
propertyType ModelType
isList bool
isReadOnly bool
isPersisted bool
attributes System.Attribute
return System