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)
 {
 }
示例#3
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);
示例#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 PostAreaRoutingDetailFunction MakeSUT(
     ICreateLoggingContextScopes factory,
     IManageAreaRoutingDetails adapter) =>
 new PostAreaRoutingDetailFunction(factory, adapter);
示例#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 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)
 {
 }