Class IntegerExtensions
Class IntegerExtensions.
Inheritance
System.Object
IntegerExtensions
Namespace: ISynergy.Framework.Core.Extensions
Assembly: ISynergy.Framework.Core.dll
Syntax
public static class IntegerExtensions : object
Methods
View SourceGenerateAlphaNumericKey(Int32)
Generates the alpha numeric key.
Declaration
public static string GenerateAlphaNumericKey(this int _self)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | _self | The self. |
Returns
Type | Description |
---|---|
System.String | System.String. |
GenerateNumericKey(Int32)
Generates the numeric key.
Declaration
public static string GenerateNumericKey(this int _self)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | _self | The self. |
Returns
Type | Description |
---|---|
System.String | System.String. |
ToGuid(Int32)
Converts to guid.
Declaration
public static Guid ToGuid(this int _self)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | _self | The value. |
Returns
Type | Description |
---|---|
Guid | Guid. |
ToInt(UInt32)
Converts uint to int.
Declaration
public static int ToInt(this uint _self)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | _self |
Returns
Type | Description |
---|---|
System.Int32 | int |
ToUInt(Int32)
Converts int to uint.
Declaration
public static uint ToUInt(this int _self)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | _self | The value. |
Returns
Type | Description |
---|---|
System.UInt32 | uint |