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

Inheritance: System.Dynamic.DynamicObject, IValueContext
Datei anzeigen Open project: perpetual-motion/clrplus Class Usage Examples

Public Properties

Property Type Description
SourceLocations IEnumerable

Protected Properties

Property Type Description
FallbackRoute ToRoute
RESOLVED Action
_emptyStringArray string[]

Private Properties

Property Type Description
AcceptFirstAnswer IEnumerable
CreatePlaceholderView View
GetChild View
GetIndex int
InitializeAtRootLevel void
LookupMacroValue IEnumerable
LookupPropertyForMacro IEnumerable
ResolveDefinedMacro IEnumerable
View System

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

public AddChildRoute ( ToRoute route ) : void
route ToRoute
return void

AddChildRoutes() public method

public AddChildRoutes ( IEnumerable routes ) : void
routes IEnumerable
return void

AddMacro() public method

public AddMacro ( string name, string value ) : void
name string
value string
return void

AddMacroHandler() public method

public AddMacroHandler ( GetMacroValueDelegate macroHandler ) : void
macroHandler GetMacroValueDelegate
return void

AddMacroHandler() public method

public AddMacroHandler ( GetSingleMacroValueDelegate macroHandler ) : void
macroHandler GetSingleMacroValueDelegate
return void

CopyToModel() public method

public CopyToModel ( ) : void
return void

GetChildPropertyNames() public method

public GetChildPropertyNames ( ) : IEnumerable
return IEnumerable

GetElement() public method

public GetElement ( string elementName ) : View
elementName string
return View

GetIndexedPropertyNames() public method

public GetIndexedPropertyNames ( ) : IEnumerable
return IEnumerable

GetMacroValues() public method

public GetMacroValues ( string innerMacro, object items = null ) : IEnumerable
innerMacro string
items object
return IEnumerable

GetMetadataItems() public method

public GetMetadataItems ( string prefix ) : string>.IDictionary
prefix string
return string>.IDictionary

GetMetadataKeys() public method

public GetMetadataKeys ( string prefix = null ) : IEnumerable
prefix string
return IEnumerable

GetMetadataValue() public method

public GetMetadataValue ( string metadataName, IValueContext context, bool checkParent = true ) : string
metadataName string
context IValueContext
checkParent bool
return string

GetMetadataValueHarder() public method

public GetMetadataValueHarder ( string metadataName, string parameter, bool checkParent = true ) : string
metadataName string
parameter string
checkParent bool
return string

GetMetadataValues() public method

public GetMetadataValues ( string metadataName, IValueContext context, bool checkParent = true ) : IEnumerable
metadataName string
context IValueContext
checkParent bool
return IEnumerable

GetMetadataValuesHarder() public method

public GetMetadataValuesHarder ( string metadataName, string parameter, bool checkParent = true ) : IEnumerable
metadataName string
parameter string
checkParent bool
return IEnumerable

GetProperty() public method

public GetProperty ( string propertyName, bool createImplicitly = true ) : View
propertyName string
createImplicitly bool
return View

GetSingleMacroValue() public method

public GetSingleMacroValue ( string innerMacro, object items = null ) : string
innerMacro string
items object
return string

HasChild() public method

public HasChild ( string propertyName ) : bool
propertyName string
return bool

IsPlaceholder() public method

public IsPlaceholder ( ) : bool
return bool

ResolveAlias() public method

public ResolveAlias ( Selector selector ) : Selector
selector Selector
return Selector

ResolveAlias() public method

public ResolveAlias ( string aliasName ) : string
aliasName string
return string

ResolveMacrosInContext() public method

public ResolveMacrosInContext ( string value, object eachItems = null, bool itemsOnly = false ) : string
value string
eachItems object
itemsOnly bool
return string

TryConvert() public method

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder ConvertBinder
result object
return bool

TryGetIndex() public method

public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder GetIndexBinder
indexes object
result object
return bool

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder GetMemberBinder
result object
return bool

TrySetIndex() public method

public TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
binder SetIndexBinder
indexes object
value object
return bool

TrySetMember() public method

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder SetMemberBinder
value object
return bool

Unroll() protected static method

protected static Unroll ( Selector selector, INode node ) : Map
selector Selector
node INode
return Map

Unroll() protected static method

protected static Unroll ( string memberName, Map>.Func map ) : Map
memberName string
map Map>.Func
return Map

Unroll() protected static method

protected static Unroll ( string memberName, View view ) : View
memberName string
view View
return View

View() protected method

protected View ( Map instance ) : System
instance Map
return System

View() protected method

protected View ( Map instance, INode node ) : System
instance Map
node INode
return System

Property Details

FallbackRoute protected_oe property

protected ToRoute FallbackRoute
return ToRoute

RESOLVED protected_oe static_oe property

protected static Action RESOLVED
return Action

SourceLocations public_oe property

public IEnumerable SourceLocations
return IEnumerable

_emptyStringArray protected_oe static_oe property

protected static string[] _emptyStringArray
return string[]