Пример #1
0
 public SegmentReaderEnumerable(ISegmentManager segmentManager, IWebMetadataFactory webMetadataFactory, IRetryManager retryManager, IPlatformServices platformServices)
 {
     if (null == segmentManager)
     {
         throw new ArgumentNullException("segmentManager");
     }
     if (null == webMetadataFactory)
     {
         throw new ArgumentNullException("webMetadataFactory");
     }
     if (null == platformServices)
     {
         throw new ArgumentNullException("platformServices");
     }
     if (null == retryManager)
     {
         throw new ArgumentNullException("retryManager");
     }
     this._segmentManager     = segmentManager;
     this._webMetadataFactory = webMetadataFactory;
     this._platformServices   = platformServices;
     this._retryManager       = retryManager;
 }
Пример #2
0
 public SegmentsController(ISegmentManager segmentManager, UserManager <User> userManager)
 {
     _userManager    = userManager;
     _segmentManager = segmentManager;
 }
Пример #3
0
 public SegmentPublicAccessToggleController(ISegmentManager segmentManager, UserManager <User> userManager)
 {
     _userManager    = userManager;
     _segmentManager = segmentManager;
 }