PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, ILogConsistencyProtocolServices)
針對指定的參數建構實例。
protected PrimaryBasedLogViewAdaptor (Orleans.EventSourcing.ILogViewAdaptorHost<TLogView,TLogEntry> host, TLogView initialstate, Orleans.EventSourcing.ILogConsistencyProtocolServices services);
new Orleans.EventSourcing.Common.PrimaryBasedLogViewAdaptor<'LogView, 'LogEntry, 'SubmissionEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null and 'SubmissionEntry :> Orleans.EventSourcing.Common.SubmissionEntry<'LogEntry>)> : Orleans.EventSourcing.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.Common.PrimaryBasedLogViewAdaptor<'LogView, 'LogEntry, 'SubmissionEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null and 'SubmissionEntry :> Orleans.EventSourcing.Common.SubmissionEntry<'LogEntry>)>
Protected Sub New (host As ILogViewAdaptorHost(Of TLogView, TLogEntry), initialstate As TLogView, services As ILogConsistencyProtocolServices)
參數
- initialstate
- TLogView
- services
- ILogConsistencyProtocolServices
適用於
PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, ILogConsistencyProtocolServices)
針對指定的參數建構實例。
protected PrimaryBasedLogViewAdaptor (Orleans.LogConsistency.ILogViewAdaptorHost<TLogView,TLogEntry> host, TLogView initialstate, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
new Orleans.EventSourcing.Common.PrimaryBasedLogViewAdaptor<'LogView, 'LogEntry, 'SubmissionEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null and 'SubmissionEntry :> Orleans.EventSourcing.Common.SubmissionEntry<'LogEntry>)> : Orleans.LogConsistency.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.EventSourcing.Common.PrimaryBasedLogViewAdaptor<'LogView, 'LogEntry, 'SubmissionEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null and 'SubmissionEntry :> Orleans.EventSourcing.Common.SubmissionEntry<'LogEntry>)>
Protected Sub New (host As ILogViewAdaptorHost(Of TLogView, TLogEntry), initialstate As TLogView, services As ILogConsistencyProtocolServices)
參數
- initialstate
- TLogView
- services
- ILogConsistencyProtocolServices