internal FabricReplicatorEx(NativeRuntime.IFabricReplicator nativeReplicator, NativeRuntime.IFabricAtomicGroupStateReplicatorEx nativeStateReplicator, NativeRuntime.IOperationDataFactory operationDataFactory) { this.internalReplicator = new InternalFabricReplicator(nativeReplicator); this.nativeStateReplicator = nativeStateReplicator; this.stateReplicator = FabricReplicatorEx.CreateStateReplicator(this.nativeStateReplicator, operationDataFactory); }
internal FabricReplicator( NativeRuntime.IFabricReplicator nativeReplicator, NativeRuntime.IFabricStateReplicator nativeStateReplicator, NativeRuntime.IOperationDataFactory operationDataFactory) : this(nativeReplicator) { this.stateReplicator = FabricReplicator.CreateStateReplicator(nativeStateReplicator, operationDataFactory); }
public virtual NativeRuntime.IFabricStateReplicator CreateReplicator(NativeRuntime.IFabricStateProvider stateProvider, IntPtr fabricReplicatorSettings, out NativeRuntime.IFabricReplicator replicator) { throw new NotImplementedException(); }
public override NativeRuntime.IFabricStateReplicator CreateReplicator(NativeRuntime.IFabricStateProvider stateProvider, IntPtr fabricReplicatorSettings, out NativeRuntime.IFabricReplicator replicator) { this.StateProvider = stateProvider; unsafe { if (fabricReplicatorSettings == IntPtr.Zero) { this.ReplicatorSettings = null; } else { this.ReplicatorSettings = *(NativeTypes.FABRIC_REPLICATOR_SETTINGS *)fabricReplicatorSettings.ToPointer(); } } replicator = this.ReplicatorOut; return(this.StateReplicatorOut); }
internal InternalFabricReplicator(NativeRuntime.IFabricReplicator nativeReplicator) { this.nativeReplicator = nativeReplicator; }
internal FabricReplicator( NativeRuntime.IFabricReplicator nativeReplicator) { this.internalReplicator = new InternalFabricReplicator(nativeReplicator); }
public override NativeRuntime.IFabricStateReplicator CreateReplicator(NativeRuntime.IFabricStateProvider stateProvider, IntPtr fabricReplicatorSettings, out NativeRuntime.IFabricReplicator replicator) { replicator = new NativeReplicator(); this.StateReplicator = new TestStateReplicator(); return(this.StateReplicator); }