Class CommonHelper
Represents utilities.
Inheritance
System.Object
CommonHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader.Web.Util
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0Syntax
public static class CommonHelper
Methods
FormatBytes(Int64)
Formats the bytes.
Declaration
public static string FormatBytes(long bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | bytes | The bytes. |
Returns
Type | Description |
---|---|
System.String |
GetAbsolutePath(String)
Gets the absolute path.
Declaration
public static string GetAbsolutePath(string xsPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | xsPath | The path. |
Returns
Type | Description |
---|---|
System.String |
ThreeNonZeroDigits(Double)
Threes the non zero digits.
Declaration
public static string ThreeNonZeroDigits(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The value. |
Returns
Type | Description |
---|---|
System.String |