Beispiel #1
0
        public ConnectionFactory(ISqlCommunicationSettings settings)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            m_settings = settings;
        }
        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;
        }