Class IntExtensions
Inheritance
System.Object
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public static class IntExtensions
Methods
View SourceTimes(Int32, Action<Int32>)
Does something 'x' amount of times
Declaration
public static void Times(this int n, Action<int> action)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | n | |
System.Action<System.Int32> | action |
ToGuid(Int32)
Creates a Guid based on an integer value
Declaration
public static Guid ToGuid(this int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | System.Int32 value to convert |
Returns
Type | Description |
---|---|
System.Guid | System.Guid |