C# Класс ExoModel.ModelReferenceProperty

Наследование: ModelProperty
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetInstances ( ModelInstance instance ) : IEnumerable

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

Защищенные методы

Метод Описание
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

Описание методов

GetFormattedValue() защищенный Метод

Gets the formatted value of the property for the specified instance.
protected GetFormattedValue ( ModelInstance instance, string format ) : string
instance ModelInstance
format string
Результат string

GetFormattedValue() защищенный Метод

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
Результат string

GetInstances() публичный Метод

Enumerates over the set of instances represented by the current step.
public GetInstances ( ModelInstance instance ) : IEnumerable
instance ModelInstance
Результат IEnumerable

ModelReferenceProperty() защищенный Метод

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
Результат System