Esempio n. 1
0
        /// <summary>
        /// initialises an instance of <see cref="LocalAuthorityFunction"/>
        /// </summary>
        /// <param name="factory">(the logging scope) factory</param>
        /// <param name="adapter">(the local authority management) adapter</param>
        protected LocalAuthorityFunction(
            ICreateLoggingContextScopes factory,
            IManageLocalAuthorities adapter)
        {
            It.IsNull(factory)
            .AsGuard <ArgumentNullException>(nameof(factory));
            It.IsNull(adapter)
            .AsGuard <ArgumentNullException>(nameof(adapter));

            Factory = factory;
            Adapter = adapter;
        }
        protected AreaRoutingDetailFunction(
            ICreateLoggingContextScopes factory,
            IManageAreaRoutingDetails adapter)
        {
            It.IsNull(factory)
            .AsGuard <ArgumentNullException>(nameof(factory));
            It.IsNull(adapter)
            .AsGuard <ArgumentNullException>(nameof(adapter));

            Factory = factory;
            Adapter = adapter;
        }
 /// <summary>
 /// initialises an instance of the <see cref="GetAreaRoutingDetailByTouchpointIDFunction"/>
 /// </summary>
 /// <param name="factory">the logging scope factory</param>
 /// <param name="adapter">the area routing detail management function adapter</param>
 public GetAreaRoutingDetailByTouchpointIDFunction(ICreateLoggingContextScopes factory, IManageAreaRoutingDetails adapter) : base(factory, adapter)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// make (a) 'system under test'
 /// </summary>
 /// <param name="factory">the logging scope factory</param>
 /// <param name="adapter">the area routing management function adapter</param>
 /// <returns>the system under test</returns>
 internal DeleteAreaRoutingDetailByTouchpointIDFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageAreaRoutingDetails adapter) =>
 new DeleteAreaRoutingDetailByTouchpointIDFunction(factory, adapter);
Esempio n. 5
0
 /// <summary>
 /// make (a) 'system under test'
 /// </summary>
 /// <param name="factory">the logging scope factory</param>
 /// <param name="adapter">the area routing management function adapter</param>
 /// <returns>the system under test</returns>
 internal PostAreaRoutingDetailFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageAreaRoutingDetails adapter) =>
 new PostAreaRoutingDetailFunction(factory, adapter);
 /// <summary>
 /// initialises an instance of <see cref="DeleteLocalAuthorityByLadCodeFunction"/>
 /// </summary>
 /// <param name="factory">(the logging scope) factory</param>
 /// <param name="adapter">(the local authority management) adapter</param>
 public DeleteLocalAuthorityByLadCodeFunction(ICreateLoggingContextScopes factory, IManageLocalAuthorities adapter) : base(factory, adapter)
 {
 }
 /// <summary>
 /// initialises an instance of <see cref="PostLocalAuthorityFunction"/>
 /// </summary>
 /// <param name="factory">(the logging scope) factory</param>
 /// <param name="adapter">(the local authority management) adapter</param>
 public PostLocalAuthorityFunction(ICreateLoggingContextScopes factory, IManageLocalAuthorities adapter) : base(factory, adapter)
 {
 }
Esempio n. 8
0
 /// <summary>
 /// make (a) 'system under test'
 /// </summary>
 /// <param name="factory">the logging scope factory</param>
 /// <param name="adapter">the area routing management function adapter</param>
 /// <returns>the system under test</returns>
 internal GetAreaRoutingDetailByLocationFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageAreaRoutingDetails adapter) =>
 new GetAreaRoutingDetailByLocationFunction(factory, adapter);
 /// <summary>
 /// initialises an instance of the <see cref="PostAreaRoutingDetailFunction"/>
 /// </summary>
 /// <param name="factory">the logging scope factory</param>
 /// <param name="adapter">the area routing detail management function adapter</param>
 public PostAreaRoutingDetailFunction(ICreateLoggingContextScopes factory, IManageAreaRoutingDetails adapter) : base(factory, adapter)
 {
 }
Esempio n. 10
0
 /// <summary>
 /// make (a) 'system under test'
 /// </summary>
 /// <param name="factory">(the logging scope) factory</param>
 /// <param name="adapter">(the local authority management) adapter</param>
 /// <returns>the system under test</returns>
 internal GetLocalAuthorityByLadCodeFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageLocalAuthorities adapter) =>
 new GetLocalAuthorityByLadCodeFunction(factory, adapter);
Esempio n. 11
0
 /// <summary>
 /// make (a) 'system under test'
 /// </summary>
 /// <param name="factory">(the logging scope) factory</param>
 /// <param name="adapter">(the local authority management) adapter</param>
 /// <returns>the system under test</returns>
 internal PostLocalAuthorityFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageLocalAuthorities adapter) =>
 new PostLocalAuthorityFunction(factory, adapter);