コード例 #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RelationalDatabase" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for the base of this service.</param>
 /// <param name="relationalDependencies">Parameter object containing relational dependencies for this service.</param>
 public RelationalDatabase(
     DatabaseDependencies dependencies,
     RelationalDatabaseDependencies relationalDependencies)
     : base(dependencies)
 {
     RelationalDependencies = relationalDependencies;
 }
コード例 #2
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="RelationalDatabase" /> class.
        /// </summary>
        /// <param name="dependencies"> Parameter object containing dependencies for the base of this service. </param>
        /// <param name="relationalDependencies"> Parameter object containing relational dependencies for this service. </param>
        public RelationalDatabase(
            [NotNull] DatabaseDependencies dependencies,
            [NotNull] RelationalDatabaseDependencies relationalDependencies)
            : base(dependencies)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }
コード例 #3
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Database" /> class.
        /// </summary>
        /// <param name="dependencies"> Parameter object containing dependencies for this service. </param>
        protected Database([NotNull] DatabaseDependencies dependencies)
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;
        }
コード例 #4
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Database" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this service.</param>
 protected Database(DatabaseDependencies dependencies)
 {
     Dependencies = dependencies;
 }