コード例 #1
1
 public UserEndpoint(IUserAdapter <TUser> userAdapter, IUserTokenProvider userTokenProvider, IUserClaimsProvider <TUser> userClaimsProvider, IOrderAdapter orderAdapter)
 {
     _userAdapter        = userAdapter;
     _userTokenProvider  = userTokenProvider;
     _userClaimsProvider = userClaimsProvider;
     _orderAdapter       = orderAdapter;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="orderAdapter">The order adapter.</param>
 public OrderController(
     IOrderAdapter orderAdapter,
     IPropertyAdapter propertyAdapter,
     IAuthAdapter authAdapter)
 {
     this.orderAdapter    = orderAdapter;
     this.propertyAdapter = propertyAdapter;
     this.authAdapter     = authAdapter;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="orderAdapter">The order adapter.</param>
 public OrderController(
     IOrderAdapter orderAdapter, 
     IPropertyAdapter propertyAdapter,
     IAuthAdapter authAdapter)
 {
     this.orderAdapter = orderAdapter;
     this.propertyAdapter = propertyAdapter;
     this.authAdapter = authAdapter;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListingController"/> class.
 /// </summary>
 /// <param name="listingAdapter">The listing adapter.</param>
 public ListingController(
     IListingAdapter listingAdapter,
     IPropertyAdapter propertyAdapter,
     ISearchAdapter searchAdapter,
     IOrderAdapter orderAdapter,
     IFeaturedAdapter featuredAdapter,
     IListingFacade listingFacade)
 {
     this.listingAdapter = listingAdapter;
     this.propertyAdapter = propertyAdapter;
     this.searchAdapter = searchAdapter;
     this.orderAdapter = orderAdapter;
     this.featuredAdapter = featuredAdapter;
     this.listingFacade = listingFacade;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListingController"/> class.
 /// </summary>
 /// <param name="listingAdapter">The listing adapter.</param>
 public ListingController(
     IListingAdapter listingAdapter,
     IPropertyAdapter propertyAdapter,
     ISearchAdapter searchAdapter,
     IOrderAdapter orderAdapter,
     IFeaturedAdapter featuredAdapter,
     IListingFacade listingFacade)
 {
     this.listingAdapter  = listingAdapter;
     this.propertyAdapter = propertyAdapter;
     this.searchAdapter   = searchAdapter;
     this.orderAdapter    = orderAdapter;
     this.featuredAdapter = featuredAdapter;
     this.listingFacade   = listingFacade;
 }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyController"/> class.
        /// </summary>
        /// <param name="propertyAdapter">The property adapter.</param>
        public PropertyController(
			IPropertyAdapter propertyAdapter,
			ISearchAdapter searchAdapter,
			IListingAdapter listingAdapter,
			IFeaturedAdapter featuredAdapter,
			IOrderAdapter orderAdapter,
			IAuthAdapter authAdapter,
            IPropertyFacade propertyFacade)
        {
            this.propertyAdapter = propertyAdapter;
            this.searchAdapter = searchAdapter;
            this.listingAdapter = listingAdapter;
            this.featuredAdapter = featuredAdapter;
            this.orderAdapter = orderAdapter;
            this.authAdapter = authAdapter;

            this.propertyFacade = propertyFacade;
        }
コード例 #7
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyController"/> class.
        /// </summary>
        /// <param name="propertyAdapter">The property adapter.</param>
        public PropertyController(
            IPropertyAdapter propertyAdapter,
            ISearchAdapter searchAdapter,
            IListingAdapter listingAdapter,
            IFeaturedAdapter featuredAdapter,
            IOrderAdapter orderAdapter,
            IAuthAdapter authAdapter,
            IPropertyFacade propertyFacade)
        {
            this.propertyAdapter = propertyAdapter;
            this.searchAdapter   = searchAdapter;
            this.listingAdapter  = listingAdapter;
            this.featuredAdapter = featuredAdapter;
            this.orderAdapter    = orderAdapter;
            this.authAdapter     = authAdapter;

            this.propertyFacade = propertyFacade;
        }
コード例 #8
0
 public OrderEndpoint(IOrderAdapter orderAdapter)
 {
     _orderAdapter = orderAdapter;
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PropertyAdapter"/> class.
 /// </summary>
 /// <param name="authAdapter">The auth adapter.</param>
 /// <param name="orderAdapter">The order adapter.</param>
 public PropertyAdapter(IAuthAdapter authAdapter, IOrderAdapter orderAdapter, IPropertyMailer mailer)
 {
     this.authAdapter = authAdapter;
     this.orderAdapter = orderAdapter;
     this.mailer = mailer;
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="orderAdapter">The order adapter.</param>
 public OrderController(IOrderAdapter orderAdapter)
 {
     this.orderAdapter = orderAdapter;
 }
コード例 #11
0
 public apiItemController(IOrderAdapter adapter)
 {
     _adapter = adapter;
 }
コード例 #12
0
 public apiItemController()
 {
     _adapter = new ItemDataAdapater();
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="orderAdapter">The order adapter.</param>
 public OrderController(IOrderAdapter orderAdapter)
 {
     this.orderAdapter = orderAdapter;
 }
コード例 #14
0
 public OrderService(IOrderAdapter adapter)
 {
     this.adapter = adapter;
 }