PeachBrackets

PeachBrackets.Building.StyleSheet

StyleSheet.AddAsync Method

Overloads  
AddAsync(string) Adds rules to the style sheet, after the ones it already has.
AddAsync(ReadOnlyMemory<char>) Adds rules to the style sheet, after the ones it already has.

StyleSheet.AddAsync(string) Method

Adds rules to the style sheet, after the ones it already has.

public System.Threading.Tasks.Task AddAsync(string css);

Parameters

css System.String

the CSS text; empty text adds nothing

Returns

System.Threading.Tasks.Task
a task that completes when the rules are added

StyleSheet.AddAsync(ReadOnlyMemory<char>) Method

Adds rules to the style sheet, after the ones it already has.

public System.Threading.Tasks.Task AddAsync(System.ReadOnlyMemory<char> css);

Parameters

css System.ReadOnlyMemory<System.Char>

the CSS text; empty text adds nothing

Returns

System.Threading.Tasks.Task
a task that completes when the rules are added