Property | Type | Description | |
---|---|---|---|
ParametersRegex |
Method | Description | |
---|---|---|
AddSnippet ( string name, string content, IPagesStorageProviderV30 provider ) : bool |
Creates a new Snippet.
|
|
CountParameters ( System.Snippet snippet ) : int |
Counts the parameters in a snippet.
|
|
ExtractParameterNames ( System.Snippet snippet ) : string[] |
Finds the parameters in a snippet.
|
|
Find ( string name ) : System.Snippet |
Finds a Snippet.
|
|
GetSnippets ( ) : List |
Gets the complete list of the Snippets.
|
|
ModifySnippet ( System.Snippet snippet, string content ) : bool |
Modifies the Content of a Snippet.
|
|
RemoveSnippet ( System.Snippet snippet ) : bool |
Removes a Snippet.
|
public static AddSnippet ( string name, string content, IPagesStorageProviderV30 provider ) : bool | ||
name | string | The name of the Snippet. |
content | string | The content of the Snippet. |
provider | IPagesStorageProviderV30 | The Provider to use to store the Snippet ( |
return | bool |
public static CountParameters ( System.Snippet snippet ) : int | ||
snippet | System.Snippet | The snippet. |
return | int |
public static ExtractParameterNames ( System.Snippet snippet ) : string[] | ||
snippet | System.Snippet | The snippet. |
return | string[] |
public static Find ( string name ) : System.Snippet | ||
name | string | The Name of the Snippet to find. |
return | System.Snippet |
public static ModifySnippet ( System.Snippet snippet, string content ) : bool | ||
snippet | System.Snippet | The Snippet to update. |
content | string | The new Content. |
return | bool |
public static RemoveSnippet ( System.Snippet snippet ) : bool | ||
snippet | System.Snippet | The Snippet to remove. |
return | bool |