Method | Description | |
---|---|---|
Format ( string raw, |
Performs a Formatting phase.
|
|
Init ( IHostV30 host, string config ) : void |
Initializes the Storage Provider. If the configuration string is not valid, the methoud should throw a InvalidConfigurationException. |
|
PrepareTitle ( string title, |
Prepares the title of an item for display (always during phase 3).
|
|
Shutdown ( ) : void |
Method invoked on shutdown. This method might not be invoked in some cases. |
Method | Description | |
---|---|---|
BuildResult ( string pattern, int downloads, int daily, int weekly, int monthly ) : string |
Builds the result.
|
|
CountAllDownloads ( |
Counts all the downloads.
|
|
CountDownloads ( string fullFilePath, string providerName ) : int |
Counts the downloads of a file.
|
|
CountDownloads ( string attachmentName, string pageName, string providerName ) : int |
Counts the downloads of a file.
|
|
FindAndRemoveFirstOccurrence ( StringBuilder buffer ) : string>.KeyValuePair |
Finds and removes the first occurrence of the XML markup.
|
|
GetProvider ( string provider ) : IFilesStorageProviderV30 |
Gets the specified provider or the default one.
|
|
GetRootAttributes ( |
Gets the root attributes.
|
|
LogWarning ( string message ) : void |
Logs a warning.
|
|
ReplacePlaceholder ( StringBuilder buffer, string placeholder, string value ) : void |
Replaces a placeholder with its value.
|
|
TryGetAttribute ( |
Tries to get the value of an attribute.
|
public Format ( string raw, |
||
raw | string | The raw content to Format. |
context | The Context information. | |
phase | FormattingPhase | The Phase. |
return | string |
public Init ( IHostV30 host, string config ) : void | ||
host | IHostV30 | The Host of the Component. |
config | string | The Configuration data, if any. |
return | void |
public PrepareTitle ( string title, |
||
title | string | The input title. |
context | The context information. | |
return | string |