public static IReplicaStorageProvider Create(ReplicaStorageScope scope) =>
 scope == ReplicaStorageScope.Process ? (IReplicaStorageProvider)SharedProvider : new PerInstanceReplicaStorageProvider();
Пример #2
0
 public static IReplicaStorageProvider Create(ReplicaStorageScope scope)
 {
     return(scope == ReplicaStorageScope.Process ? (IReplicaStorageProvider)sharedProvider : new PerInstanceReplicaStorageProvider());
 }