Example #1
0
 internal RedisSessionStateStoreOptions(RedisSessionStateStoreOptions other)
 {
     KeySeparator = other.KeySeparator ?? defaultKeySeparator;
     DistributedLockAcquisitionTimeoutSeconds = other.DistributedLockAcquisitionTimeoutSeconds ?? defaultDistributedLockAcquisitionTimeoutSeconds;
     DistributedLockTimeoutSeconds            = other.DistributedLockTimeoutSeconds ?? defaultDistributedLockTimeoutSeconds;
     OnDistributedLockNotAcquired             = other.OnDistributedLockNotAcquired ?? defaultOnDistributedLockNotAcquired;
 }
 internal RedisSessionStateStoreOptions(RedisSessionStateStoreOptions other)
 {
     KeySeparator = other.KeySeparator ?? defaultKeySeparator;
     DistributedLockAcquisitionTimeoutSeconds = other.DistributedLockAcquisitionTimeoutSeconds ?? defaultDistributedLockAcquisitionTimeoutSeconds;
     DistributedLockTimeoutSeconds = other.DistributedLockTimeoutSeconds ?? defaultDistributedLockTimeoutSeconds;
     OnDistributedLockNotAcquired = other.OnDistributedLockNotAcquired ?? defaultOnDistributedLockNotAcquired;
 }