Class ChangeIntValueToKeyModel
Used to identify a data object.
Inherited Members
Namespace: SKM.V3.Models
Assembly: Cryptolens.Licensing.dll
Syntax
public class ChangeIntValueToKeyModel : KeyLockModel, IChangeValueModel
Properties
Bound
This is the upper/lower bound that will be enforced on the increment or decrement operation. It will only be enforced if EnableBound is set to true. Please read the description above.
Declaration
public int Bound { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
EnableBound
If set to true, it will be possible to specify an upper/lower bound. (for Increment Int Value) For example, if you set the Bound parameter (below) to 10, you will be able to increment the int value until you reach ten (inclusive). Once the upper bound is reached, an error will be thrown. (for Decrement Int Value) For example, if you set the Bound parameter (below) to 0, you will be able to decrement the int value until you reach zero (inclusive). Once the lower bound is reached, an error will be thrown.
Declaration
public bool EnableBound { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Id
The unique object id for the data object. If you set the Name parameter, you can skip the Id parameter.
Declaration
public long Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
IntValue
This is either the new int value that should be assigned to the Data Object
when using
Declaration
public int IntValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
The name of the data object (assuming there are no duplicates).
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |