Namespace:
Contracts
Assembly: Contracts (in Contracts.dll)
Top
Top
Assembly: Contracts (in Contracts.dll)
Public Class General
This language is not supported or no code example is available.
public static class General
This language is not supported or no code example is available.
public ref class General
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
CSVEscapeSpecialChar(string) | Escape double quote, comma and new line | |
CheckForInternetConnection() | Check for an internet connection | |
DescribeSize(long) | Describe a size | |
DescribeTimeSpan(TimeSpan) | Describe a time span | |
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
Get7ZipPath() | ||
GetDescription(this Enum) | Extension method for getting enum items description Make sure each enum item has System.ComponentModel.DataAnnotations.DisplayAttribute. eg [System.ComponentModel.DataAnnotations.Display(Name = "Email Contact", Description = "Email Contact from the Contact Editor / Viewer")] if the enum item doesn't have the attribute, an empty string is returned. | |
GetDisplayName(this Enum) | Extension method for getting enum items display name Make sure each enum item has System.ComponentModel.DataAnnotations.DisplayAttribute. eg [System.ComponentModel.DataAnnotations.Display(Name = "Email Contact", Description = "Email Contact from the Contact Editor / Viewer")] if the enum item doesn't have the attribute, the enum name is returned. | |
GetEnumDescriptiveNames(Type) | Get all enum items display names Make sure each enum item has System.ComponentModel.DataAnnotations.DisplayAttribute. eg [System.ComponentModel.DataAnnotations.Display(Name = "Email Contact", Description = "Email Contact from the Contact Editor / Viewer")] Note: old style still supported - System.ComponentModel.DescriptionAttribute. eg [System.ComponentModel.Description("Pie Chart")] | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetSocketError(SocketException, string, int) | Describe a socket exception | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
DEFAULT_PORT | The default port | |
FEATURE_VERSION | The feature version | |
PROTOCOL_VERSION | The protocol version |
Contracts.General