Class FileSizeFormatProvider
Inheritance
System.Object
FileSizeFormatProvider
Implements
ICustomFormatter
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileSizeFormatProvider : IFormatProvider
Methods
| Improve this Doc View SourceFormat(String, Object, IFormatProvider)
Declaration
public string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | format | |
| System.Object | arg | |
| IFormatProvider | formatProvider |
Returns
| Type | Description |
|---|---|
| System.String |
GetFormat(Type)
Declaration
public object GetFormat(Type formatType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | formatType |
Returns
| Type | Description |
|---|---|
| System.Object |
Implements
ICustomFormatter