Пример #1
0
		public DynamoDependencyScope(IResolverScope scope)
		{
			if (scope == null)
				throw new ArgumentNullException("scope");

			_scope = scope;
		}
        public DynamoDependencyScope(IResolverScope scope)
        {
            if (scope == null)
            {
                throw new ArgumentNullException("scope");
            }

            _scope = scope;
        }
Пример #3
0
		public void Dispose()
		{
			// Thread safe?

			if (_scope != null)
			{
				_scope.Dispose();
				_scope = null;
			}
		}
        public void Dispose()
        {
            // Thread safe?

            if (_scope != null)
            {
                _scope.Dispose();
                _scope = null;
            }
        }