C# Класс WebMarkupMin.Core.Helpers.AngularHelpers

Angular helpers
Показать файл Открыть проект

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

Метод Описание
IsClassDirective ( string className ) : bool

Checks whether the class is the Angular class directive

IsCommentDirective ( string commentText ) : bool

Checks whether the comment is the Angular comment directive

NormalizeDirectiveName ( string directiveName ) : string

Normalizes a directive name

ParseClassDirective ( string className, DirectiveNameDelegate directiveNameHandler, ExpressionDelegate expressionHandler, SemicolonDelegate semicolonHandler ) : void

Parses a Angular class directive

ParseCommentDirective ( string commentText, DirectiveNameDelegate directiveNameHandler, ExpressionDelegate expressionHandler ) : void

Parses a Angular comment directive

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

Метод Описание
ToCamelCase ( string value ) : string

Converts a string value to camel case

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

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

Checks whether the class is the Angular class directive
public static IsClassDirective ( string className ) : bool
className string Class name
Результат bool

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

Checks whether the comment is the Angular comment directive
public static IsCommentDirective ( string commentText ) : bool
commentText string Comment text
Результат bool

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

Normalizes a directive name
public static NormalizeDirectiveName ( string directiveName ) : string
directiveName string Directive name
Результат string

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

Parses a Angular class directive
public static ParseClassDirective ( string className, DirectiveNameDelegate directiveNameHandler, ExpressionDelegate expressionHandler, SemicolonDelegate semicolonHandler ) : void
className string Class name
directiveNameHandler DirectiveNameDelegate Directive name handler
expressionHandler ExpressionDelegate Binding expression handler
semicolonHandler SemicolonDelegate Semicolon handler
Результат void

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

Parses a Angular comment directive
public static ParseCommentDirective ( string commentText, DirectiveNameDelegate directiveNameHandler, ExpressionDelegate expressionHandler ) : void
commentText string Comment text
directiveNameHandler DirectiveNameDelegate Directive name handler
expressionHandler ExpressionDelegate Binding expression handler
Результат void