C# Класс CoApp.Developer.Toolkit.Scripting.Languages.PropertySheet.PropertySheet

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

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

Свойство Тип Описание
GetCollection GetCollectionDelegate
GetMacroValue StringExtensions.GetMacroValueDelegate
PostprocessProperty StringExtensions.GetMacroValueDelegate
PreprocessProperty StringExtensions.GetMacroValueDelegate

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

Метод Описание
GetRule ( string name = "*", string parameter = null, string @class = null, string id = null ) : Rule

Gets a rule by the selector criteria. If the rule doesn't exists, it creates it and adds it to the propertysheet.

HasRule ( string name = "*", string parameter = null, string @class = null, string id = null ) : bool
Load ( string path ) : PropertySheet
Parse ( string text, string originalFilename ) : PropertySheet
Save ( string path ) : void
ToString ( ) : string
TryGetMember ( GetMemberBinder binder, object &result ) : bool
this ( string name ) : IEnumerable

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

Метод Описание
GetIndex ( string innerMacro ) : int
ProcessMacroInternal ( string value, object eachItems ) : string
QuoteIfNeeded ( string val ) : string
ResolveMacros ( string value, object eachItems = null ) : string

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

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

Gets a rule by the selector criteria. If the rule doesn't exists, it creates it and adds it to the propertysheet.
public GetRule ( string name = "*", string parameter = null, string @class = null, string id = null ) : Rule
name string
parameter string
@class string
id string
Результат Rule

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

public HasRule ( string name = "*", string parameter = null, string @class = null, string id = null ) : bool
name string
parameter string
@class string
id string
Результат bool

Load() публичный статический Метод

public static Load ( string path ) : PropertySheet
path string
Результат PropertySheet

Parse() публичный статический Метод

public static Parse ( string text, string originalFilename ) : PropertySheet
text string
originalFilename string
Результат PropertySheet

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

public Save ( string path ) : void
path string
Результат void

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

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

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

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

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

public this ( string name ) : IEnumerable
name string
Результат IEnumerable

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

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

public GetCollectionDelegate GetCollection
Результат GetCollectionDelegate

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

public StringExtensions.GetMacroValueDelegate GetMacroValue
Результат StringExtensions.GetMacroValueDelegate

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

public StringExtensions.GetMacroValueDelegate PostprocessProperty
Результат StringExtensions.GetMacroValueDelegate

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

public StringExtensions.GetMacroValueDelegate PreprocessProperty
Результат StringExtensions.GetMacroValueDelegate