C# Class ExoModel.ModelReferenceProperty

Inheritance: ModelProperty
Afficher le fichier Open project: vc3/ExoModel Class Usage Examples

Méthodes publiques

Méthode Description
GetInstances ( ModelInstance instance ) : IEnumerable

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

Méthodes protégées

Méthode 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 méthode

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

GetFormattedValue() protected méthode

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
Résultat string

GetInstances() public méthode

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

ModelReferenceProperty() protected méthode

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
Résultat System