C# Класс ICSharpCode.Core.StringParser

this class parses internal ${xyz} tags of sd. All environment variables are avaible under the name env.[NAME] where [NAME] represents the string under which it is avaiable in the environment.
Показать файл Открыть проект

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

Метод Описание
Parse ( string input ) : string
Parse ( string input, string customTags ) : string

Expands ${xyz} style property values.

Parse ( string inputs ) : void

Parses an array and replaces the elements in the existing array.

RegisterStringTagProvider ( IStringTagProvider tagProvider ) : void

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

Метод Описание
Get ( object obj, string name ) : string
GetProperty ( string propertyName ) : string

Allow special syntax to retrieve property values: ${property:PropertyName} ${property:PropertyName??DefaultValue} ${property:ContainerName/PropertyName} ${property:ContainerName/PropertyName??DefaultValue} A container is a Properties instance stored in the PropertyService. This is used by many AddIns to group all their properties into one container.

GetValue ( string propertyName, string customTags ) : string
StringParser ( ) : System

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

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

public static Parse ( string input ) : string
input string
Результат string

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

Expands ${xyz} style property values.
public static Parse ( string input, string customTags ) : string
input string
customTags string
Результат string

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

Parses an array and replaces the elements in the existing array.
public static Parse ( string inputs ) : void
inputs string
Результат void

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

public static RegisterStringTagProvider ( IStringTagProvider tagProvider ) : void
tagProvider IStringTagProvider
Результат void