コード例 #1
0
        public SwisSettingsContext()
        {
            if (Current != null)
                throw new InvalidOperationException("SwisSettingsContext.Current is already set.");

            DataProviderTimeout = DefaultProviderTimeout;
            Current = this;
        }
コード例 #2
0
        public SwisSettingsContext()
        {
            if (Current != null)
            {
                throw new InvalidOperationException("SwisSettingsContext.Current is already set.");
            }

            DataProviderTimeout = DefaultProviderTimeout;
            Current             = this;
        }
コード例 #3
0
 public void Dispose()
 {
     Current = null;
 }
コード例 #4
0
 public void Dispose()
 {
     Current = null;
 }