コード例 #1
0
ファイル: UnityManager.cs プロジェクト: chihoyeung/NContext
        /// <summary>
        /// Initializes a new instance of the <see cref="UnityManager"/> class.
        /// </summary>
        /// <param name="unityConfiguration">The dependency injection configuration.</param>
        /// <remarks></remarks>
        public UnityManager(UnityConfiguration unityConfiguration)
        {
            if (unityConfiguration == null)
            {
                throw new ArgumentNullException("unityConfiguration");
            }

            _UnityConfiguration = unityConfiguration;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UnityManager"/> class.
        /// </summary>
        /// <param name="unityConfiguration">The dependency injection configuration.</param>
        /// <remarks></remarks>
        public UnityManager(UnityConfiguration unityConfiguration)
        {
            if (unityConfiguration == null)
            {
                throw new ArgumentNullException("unityConfiguration");
            }

            _UnityConfiguration = unityConfiguration;
        }