C# Class ClrPlus.Scripting.Languages.PropertySheetV3.Mapping.View

Inheritance: System.Dynamic.DynamicObject, IValueContext
Afficher le fichier Open project: perpetual-motion/clrplus Class Usage Examples

Méthodes publiques

Свойство Type Description
SourceLocations IEnumerable

Protected Properties

Свойство Type Description
FallbackRoute ToRoute
RESOLVED Action
_emptyStringArray string[]

Private Properties

Свойство Type Description
AcceptFirstAnswer IEnumerable
CreatePlaceholderView View
GetChild View
GetIndex int
InitializeAtRootLevel void
LookupMacroValue IEnumerable
LookupPropertyForMacro IEnumerable
ResolveDefinedMacro IEnumerable
View System

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

AddChildRoute() public méthode

public AddChildRoute ( ToRoute route ) : void
route ToRoute
Résultat void

AddChildRoutes() public méthode

public AddChildRoutes ( IEnumerable routes ) : void
routes IEnumerable
Résultat void

AddMacro() public méthode

public AddMacro ( string name, string value ) : void
name string
value string
Résultat void

AddMacroHandler() public méthode

public AddMacroHandler ( GetMacroValueDelegate macroHandler ) : void
macroHandler GetMacroValueDelegate
Résultat void

AddMacroHandler() public méthode

public AddMacroHandler ( GetSingleMacroValueDelegate macroHandler ) : void
macroHandler GetSingleMacroValueDelegate
Résultat void

CopyToModel() public méthode

public CopyToModel ( ) : void
Résultat void

GetChildPropertyNames() public méthode

public GetChildPropertyNames ( ) : IEnumerable
Résultat IEnumerable

GetElement() public méthode

public GetElement ( string elementName ) : View
elementName string
Résultat View

GetIndexedPropertyNames() public méthode

public GetIndexedPropertyNames ( ) : IEnumerable
Résultat IEnumerable

GetMacroValues() public méthode

public GetMacroValues ( string innerMacro, object items = null ) : IEnumerable
innerMacro string
items object
Résultat IEnumerable

GetMetadataItems() public méthode

public GetMetadataItems ( string prefix ) : string>.IDictionary
prefix string
Résultat string>.IDictionary

GetMetadataKeys() public méthode

public GetMetadataKeys ( string prefix = null ) : IEnumerable
prefix string
Résultat IEnumerable

GetMetadataValue() public méthode

public GetMetadataValue ( string metadataName, IValueContext context, bool checkParent = true ) : string
metadataName string
context IValueContext
checkParent bool
Résultat string

GetMetadataValueHarder() public méthode

public GetMetadataValueHarder ( string metadataName, string parameter, bool checkParent = true ) : string
metadataName string
parameter string
checkParent bool
Résultat string

GetMetadataValues() public méthode

public GetMetadataValues ( string metadataName, IValueContext context, bool checkParent = true ) : IEnumerable
metadataName string
context IValueContext
checkParent bool
Résultat IEnumerable

GetMetadataValuesHarder() public méthode

public GetMetadataValuesHarder ( string metadataName, string parameter, bool checkParent = true ) : IEnumerable
metadataName string
parameter string
checkParent bool
Résultat IEnumerable

GetProperty() public méthode

public GetProperty ( string propertyName, bool createImplicitly = true ) : View
propertyName string
createImplicitly bool
Résultat View

GetSingleMacroValue() public méthode

public GetSingleMacroValue ( string innerMacro, object items = null ) : string
innerMacro string
items object
Résultat string

HasChild() public méthode

public HasChild ( string propertyName ) : bool
propertyName string
Résultat bool

IsPlaceholder() public méthode

public IsPlaceholder ( ) : bool
Résultat bool

ResolveAlias() public méthode

public ResolveAlias ( Selector selector ) : Selector
selector Selector
Résultat Selector

ResolveAlias() public méthode

public ResolveAlias ( string aliasName ) : string
aliasName string
Résultat string

ResolveMacrosInContext() public méthode

public ResolveMacrosInContext ( string value, object eachItems = null, bool itemsOnly = false ) : string
value string
eachItems object
itemsOnly bool
Résultat string

TryConvert() public méthode

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder ConvertBinder
result object
Résultat bool

TryGetIndex() public méthode

public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder GetIndexBinder
indexes object
result object
Résultat bool

TryGetMember() public méthode

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder GetMemberBinder
result object
Résultat bool

TrySetIndex() public méthode

public TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
binder SetIndexBinder
indexes object
value object
Résultat bool

TrySetMember() public méthode

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder SetMemberBinder
value object
Résultat bool

Unroll() protected static méthode

protected static Unroll ( Selector selector, INode node ) : Map
selector Selector
node INode
Résultat Map

Unroll() protected static méthode

protected static Unroll ( string memberName, Map>.Func map ) : Map
memberName string
map Map>.Func
Résultat Map

Unroll() protected static méthode

protected static Unroll ( string memberName, View view ) : View
memberName string
view View
Résultat View

View() protected méthode

protected View ( Map instance ) : System
instance Map
Résultat System

View() protected méthode

protected View ( Map instance, INode node ) : System
instance Map
node INode
Résultat System

Property Details

FallbackRoute protected_oe property

protected ToRoute FallbackRoute
Résultat ToRoute

RESOLVED protected_oe static_oe property

protected static Action RESOLVED
Résultat Action

SourceLocations public_oe property

public IEnumerable SourceLocations
Résultat IEnumerable

_emptyStringArray protected_oe static_oe property

protected static string[] _emptyStringArray
Résultat string[]