コード例 #1
0
        public ConnectionFactory(ISqlCommunicationSettings settings)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            m_settings = settings;
        }
コード例 #2
0
        public Startup(ISqlCommunicationSettings settings, StartupDependencies dependencies)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            if (dependencies == null)
            {
                throw new ArgumentNullException(nameof(dependencies));
            }

            m_settings            = settings;
            m_startupDependencies = dependencies;
        }