GrainStateWithMetaData<TView> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GrainStateWithMetaData<TView>() |
Initializes a new instance of the GrainStateWithMetaData<TView> class. |
GrainStateWithMetaData<TView>(TView) |
Initializes a new instance of the GrainStateWithMetaData<TView> class. |
- Source:
- GrainStateWithMetaData.cs
Initializes a new instance of the GrainStateWithMetaData<TView> class.
C#
public GrainStateWithMetaData();
Public Sub New ()
Applies to
.NET Orleans 9.0.0 and other versions
Product | Versions |
---|---|
.NET Orleans | 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |
- Source:
- GrainStateWithMetaData.cs
Initializes a new instance of the GrainStateWithMetaData<TView> class.
C#
public GrainStateWithMetaData(TView initialstate);
new Orleans.EventSourcing.StateStorage.GrainStateWithMetaData<'View (requires 'View : null and 'View : (new : unit -> 'View))> : 'View -> Orleans.EventSourcing.StateStorage.GrainStateWithMetaData<'View (requires 'View : null and 'View : (new : unit -> 'View))>
Public Sub New (initialstate As TView)
Parameters
- initialstate
- TView
The initial state of the view
Applies to
.NET Orleans 9.0.0 and other versions
Product | Versions |
---|---|
.NET Orleans | 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |