Class FileSizeFormatProvider
Inherited Members
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileSizeFormatProvider : IFormatProvider, ICustomFormatter
Constructors
FileSizeFormatProvider()
Declaration
public FileSizeFormatProvider()
Methods
Format(string, object, IFormatProvider)
Declaration
public string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| string | format | |
| object | arg | |
| IFormatProvider | formatProvider |
Returns
| Type | Description |
|---|---|
| string |
GetFormat(Type)
Declaration
public object GetFormat(Type formatType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | formatType |
Returns
| Type | Description |
|---|---|
| object |