C# Класс ClrPlus.Scripting.Languages.PropertySheetV3.Mapping.View

Наследование: System.Dynamic.DynamicObject, IValueContext
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SourceLocations IEnumerable

Защищенные свойства (Protected)

Свойство Тип Описание
FallbackRoute ToRoute
RESOLVED Action
_emptyStringArray string[]

Private Properties

Свойство Тип Описание
AcceptFirstAnswer IEnumerable
CreatePlaceholderView View
GetChild View
GetIndex int
InitializeAtRootLevel void
LookupMacroValue IEnumerable
LookupPropertyForMacro IEnumerable
ResolveDefinedMacro IEnumerable
View System

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

Метод Описание
AddChildRoute ( ToRoute route ) : void
AddChildRoutes ( IEnumerable routes ) : void
AddMacro ( string name, string value ) : void
AddMacroHandler ( GetMacroValueDelegate macroHandler ) : void
AddMacroHandler ( GetSingleMacroValueDelegate macroHandler ) : void
CopyToModel ( ) : void
GetChildPropertyNames ( ) : IEnumerable
GetElement ( string elementName ) : View
GetIndexedPropertyNames ( ) : IEnumerable
GetMacroValues ( string innerMacro, object items = null ) : IEnumerable
GetMetadataItems ( string prefix ) : string>.IDictionary
GetMetadataKeys ( string prefix = null ) : IEnumerable
GetMetadataValue ( string metadataName, IValueContext context, bool checkParent = true ) : string
GetMetadataValueHarder ( string metadataName, string parameter, bool checkParent = true ) : string
GetMetadataValues ( string metadataName, IValueContext context, bool checkParent = true ) : IEnumerable
GetMetadataValuesHarder ( string metadataName, string parameter, bool checkParent = true ) : IEnumerable
GetProperty ( string propertyName, bool createImplicitly = true ) : View
GetSingleMacroValue ( string innerMacro, object items = null ) : string
HasChild ( string propertyName ) : bool
IsPlaceholder ( ) : bool
ResolveAlias ( Selector selector ) : Selector
ResolveAlias ( string aliasName ) : string
ResolveMacrosInContext ( string value, object eachItems = null, bool itemsOnly = false ) : string
TryConvert ( ConvertBinder binder, object &result ) : bool
TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool

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

Метод Описание
Unroll ( Selector selector, INode node ) : Map
Unroll ( string memberName, Map>.Func map ) : Map
Unroll ( string memberName, View view ) : View
View ( Map instance ) : System
View ( Map instance, INode node ) : System

Приватные методы

Метод Описание
AcceptFirstAnswer ( GetMacroValueDelegate getMacroDelegate, string innerMacro, IValueContext originalContext ) : IEnumerable
CreatePlaceholderView ( string placeholderName ) : View
GetChild ( Selector selector, bool createImplicity = true ) : View
GetIndex ( string innerMacro ) : int
InitializeAtRootLevel ( INode node ) : void
LookupMacroValue ( string innerMacro, IValueContext originalContext ) : IEnumerable
LookupPropertyForMacro ( string valuename, IValueContext context ) : IEnumerable
ResolveDefinedMacro ( string valueName, IValueContext context ) : IEnumerable
View ( Selector selector, INode node ) : System

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

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

public AddChildRoute ( ToRoute route ) : void
route ToRoute
Результат void

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

public AddChildRoutes ( IEnumerable routes ) : void
routes IEnumerable
Результат void

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

public AddMacro ( string name, string value ) : void
name string
value string
Результат void

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

public AddMacroHandler ( GetMacroValueDelegate macroHandler ) : void
macroHandler GetMacroValueDelegate
Результат void

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

public AddMacroHandler ( GetSingleMacroValueDelegate macroHandler ) : void
macroHandler GetSingleMacroValueDelegate
Результат void

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

public CopyToModel ( ) : void
Результат void

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

public GetChildPropertyNames ( ) : IEnumerable
Результат IEnumerable

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

public GetElement ( string elementName ) : View
elementName string
Результат View

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

public GetIndexedPropertyNames ( ) : IEnumerable
Результат IEnumerable

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

public GetMacroValues ( string innerMacro, object items = null ) : IEnumerable
innerMacro string
items object
Результат IEnumerable

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

public GetMetadataItems ( string prefix ) : string>.IDictionary
prefix string
Результат string>.IDictionary

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

public GetMetadataKeys ( string prefix = null ) : IEnumerable
prefix string
Результат IEnumerable

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

public GetMetadataValue ( string metadataName, IValueContext context, bool checkParent = true ) : string
metadataName string
context IValueContext
checkParent bool
Результат string

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

public GetMetadataValueHarder ( string metadataName, string parameter, bool checkParent = true ) : string
metadataName string
parameter string
checkParent bool
Результат string

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

public GetMetadataValues ( string metadataName, IValueContext context, bool checkParent = true ) : IEnumerable
metadataName string
context IValueContext
checkParent bool
Результат IEnumerable

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

public GetMetadataValuesHarder ( string metadataName, string parameter, bool checkParent = true ) : IEnumerable
metadataName string
parameter string
checkParent bool
Результат IEnumerable

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

public GetProperty ( string propertyName, bool createImplicitly = true ) : View
propertyName string
createImplicitly bool
Результат View

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

public GetSingleMacroValue ( string innerMacro, object items = null ) : string
innerMacro string
items object
Результат string

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

public HasChild ( string propertyName ) : bool
propertyName string
Результат bool

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

public IsPlaceholder ( ) : bool
Результат bool

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

public ResolveAlias ( Selector selector ) : Selector
selector Selector
Результат Selector

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

public ResolveAlias ( string aliasName ) : string
aliasName string
Результат string

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

public ResolveMacrosInContext ( string value, object eachItems = null, bool itemsOnly = false ) : string
value string
eachItems object
itemsOnly bool
Результат string

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

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder ConvertBinder
result object
Результат bool

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

public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder GetIndexBinder
indexes object
result object
Результат bool

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

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder GetMemberBinder
result object
Результат bool

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

public TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
binder SetIndexBinder
indexes object
value object
Результат bool

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

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder SetMemberBinder
value object
Результат bool

Unroll() защищенный статический Метод

protected static Unroll ( Selector selector, INode node ) : Map
selector Selector
node INode
Результат Map

Unroll() защищенный статический Метод

protected static Unroll ( string memberName, Map>.Func map ) : Map
memberName string
map Map>.Func
Результат Map

Unroll() защищенный статический Метод

protected static Unroll ( string memberName, View view ) : View
memberName string
view View
Результат View

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

protected View ( Map instance ) : System
instance Map
Результат System

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

protected View ( Map instance, INode node ) : System
instance Map
node INode
Результат System

Описание свойств

FallbackRoute защищенное свойство

protected ToRoute FallbackRoute
Результат ToRoute

RESOLVED защищенное статическое свойство

protected static Action RESOLVED
Результат Action

SourceLocations публичное свойство

public IEnumerable SourceLocations
Результат IEnumerable

_emptyStringArray защищенное статическое свойство

protected static string[] _emptyStringArray
Результат string[]