C# Класс MoreInternals.Model.Selector

Наследование: IPosition, IWritable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string raw, int start, int stop, string filePath ) : Selector
Write ( ICssWriter output ) : void
Write ( TextWriter output ) : void

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

Метод Описание
ApplyEscapeMap ( Selector sel, string>.Dictionary map ) : Selector

Reverses the transformation applied by BuildEscapeMap on a selector.

ApplyEscapeMap ( string str, string>.Dictionary map ) : string
BuildEscapeMap ( string &rawSelector ) : string>.Dictionary

Determines which string sequences in a selector are escape sequences, and replaces them with characters that have no meaning in CSS (and don't appear elsewhere in the selector). Returns a dictionary[char, string] that can be used to reverse this transformation.

NextSpecialChar ( IEnumerable alreadyUsed, IEnumerable cantBeIn ) : char
ParseRawChildSelector ( string parts, int start, int stop, string filePath ) : Selector
ParseRawCommaDelimittedSelector ( string parts, int start, int stop, string filePath ) : Selector
ParseRawCompoundSelector ( string raw, int start, int stop, string filePath ) : Selector
ParseRawSelector ( string raw, int start, int stop, string filePath ) : Selector
ParseRawSiblingSelector ( string parts, int start, int stop, string filePath ) : Selector
_NextIndexOf ( string raw, int start ) : int

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

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

public Equals ( object obj ) : bool
obj object
Результат bool

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

public GetHashCode ( ) : int
Результат int

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

public static Parse ( string raw, int start, int stop, string filePath ) : Selector
raw string
start int
stop int
filePath string
Результат Selector

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

public Write ( ICssWriter output ) : void
output ICssWriter
Результат void

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

public Write ( TextWriter output ) : void
output System.IO.TextWriter
Результат void