public static IReplicaStorageProvider Create(ReplicaStorageScope scope) => scope == ReplicaStorageScope.Process ? (IReplicaStorageProvider)SharedProvider : new PerInstanceReplicaStorageProvider();
public static IReplicaStorageProvider Create(ReplicaStorageScope scope) { return(scope == ReplicaStorageScope.Process ? (IReplicaStorageProvider)sharedProvider : new PerInstanceReplicaStorageProvider()); }