Class CreateResult<TSossObject>
- Namespace
- Scaleout.Modules.Abstractions
- Assembly
- Scaleout.Modules.Abstractions.dll
Factory result for creating a new object in the ScaleOut service.
public class CreateResult<TSossObject>
Type Parameters
TSossObject
Type of object to store in the ScaleOut service.
- Inheritance
-
CreateResult<TSossObject>
- Inherited Members
Properties
Expiration
The expiration time for the object in the ScaleOut service, or TimeSpan.Zero if no expiration is set and the object should not expire.
public TimeSpan Expiration { get; init; }
Property Value
ExpirationType
The type of expiration for the object in the ScaleOut service (sliding or absolute).
public ExpirationType ExpirationType { get; init; }
Property Value
Value
The value of the object to be created in the ScaleOut service.
public required TSossObject Value { get; set; }
Property Value
- TSossObject