Contains utilities that the KiiSDK uses.
See Also: Inherited members from object.
|
Utils
()
|
Documentation for this section has not yet been entered. |
[read-only] static |
CurrentTimeMills | long . Gets the current time mills. |
static
|
CheckInitialize
(bool)Checks if the SDK is initialized. |
|
static
|
EscapeUriString
(string)Documentation for this section has not yet been entered. |
|
static
|
GetDictionaryValue<K,V>
(Dictionary<K, V>, K)Documentation for this section has not yet been entered. |
|
static
|
IsEmpty
(object)Checks if a Object has value. |
|
static
|
IsEmpty
(string)Checks if a String contains text. |
|
static
|
IsGlobalPhoneNumber
(string)Determines if is global phone number the specified phone. |
|
static
|
Path
(params object[])Combines some strings into a path. |
|
static
|
RemoveLastSlash
(string)Removes the last slash if input string has. |
|
static
|
ThrowException
(GroupOperationException)Throws the exception. |
|
static
|
UnixTimeToDateTime
(long)Unixs the time to date time. |
|
static
|
ValidateBucketName
(string)Validates the name of the bucket. |
|
static
|
ValidateCountry
(string)Validates the country. |
|
static
|
ValidateDisplayname
(string)Validates the displayname. |
|
static
|
ValidateEmail
(string)Validates the email. |
|
static
|
ValidateGlobalPhoneNumber
(string)Validates the global phone number. |
|
static
|
ValidateGroupID
(string)Validates the given ID of the group. Alphanumeric string with less than 100 character, symbol _- are allowed. |
|
static
|
ValidateLocalPhoneNumber
(string)Validates the local phone number. |
|
static
|
ValidateObjectID
(string)Validates the given ID of the object. Valid pattern: ^[a-zA-Z0-9-_\\.]{2,100}$ |
|
static
|
ValidatePassword
(string)Validates the password. |
|
static
|
ValidatePhoneNumber
(string)Validates the phone number. |
|
static
|
ValidateUsername
(string)Validates the username. |
Documentation for this section has not yet been entered.Syntax
public Utils ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Checks if the SDK is initialized.Syntax
Parameters
- checkLogin
- true if the SDK is initialized.
Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the current time mills.Syntax
public static long CurrentTimeMills { get; }Value
The current time mills.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Documentation for this section has not yet been entered.Syntax
Parameters
- str
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Documentation for this section has not yet been entered.Syntax
public static V GetDictionaryValue<K, V> (Dictionary<K, V> accessCredential, K key)Type Parameters
- K
- Documentation for this section has not yet been entered.
- V
- Documentation for this section has not yet been entered.
Parameters
- accessCredential
- Documentation for this section has not yet been entered.
- key
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Checks if a Object has value.Syntax
Parameters
- s
- string.
Returns
true if the Object is empty or null.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Checks if a String contains text.Syntax
Parameters
- value
- Value.
Returns
true if the String is empty or null.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Determines if is global phone number the specified phone.Syntax
Parameters
- phone
- Phone.
Returns
true if is global phone number the specified phone; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Combines some strings into a path.Syntax
Parameters
- segments
- Segments.
Returns
Documentation for this section has not yet been entered.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Removes the last slash if input string has.Syntax
Parameters
- input
- Input string.
Returns
String whose last slash is removedRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Throws the exception.Syntax
public static void ThrowException (GroupOperationException ex)Parameters
- ex
- Ex.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Unixs the time to date time.Syntax
Parameters
- unixTimeMilliseconds
- Unix time milliseconds.
Returns
The time to date time.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the name of the bucket.Syntax
Parameters
- name
- Name.
Returns
true, if bucket name was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the country.Syntax
Parameters
- country
- Country.
Returns
true, if country was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the displayname.Syntax
Parameters
- displayname
- Displayname.
Returns
true, if specified displayname length is 1-50 chars, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the email.Syntax
Parameters
- Email.
Returns
true, if email was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the global phone number.Syntax
Parameters
- number
- Number.
Returns
true, if global phone number was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the given ID of the group. Alphanumeric string with less than 100 character, symbol _- are allowed.Syntax
Parameters
- groupID
- Group ID to be checked.
Returns
true, if group id is valid, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the local phone number.Syntax
Parameters
- number
- Number.
Returns
true, if local phone number was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the given ID of the object. Valid pattern: ^[a-zA-Z0-9-_\\.]{2,100}$Syntax
Parameters
- objectID
- Object ID to be checked.
Returns
true, if object id is valid, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the password.Syntax
Parameters
- pw
- Pw.
Returns
true, if password was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the phone number.Syntax
Parameters
- phone
- Phone.
Returns
true, if phone number was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Validates the username.Syntax
Parameters
- username
- Username.
Returns
true, if username was validated, false otherwise.Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0