public FriendlyImageUrlStrategy(
     IAlbumFacade gallery,
     IUserAuthentication authentication
     )
 {
     this.gallery = gallery;
     this.authentication = authentication;
 }
Esempio n. 2
0
 public AlbumController(
     IAlbumFacade gallery,
     IAuthorizationService authorization,
     IUserAuthentication authentication,
     IImageRequestStrategy requestStrategy,
     ILocation dataLocation
     )
     : base(authentication)
 {
     this.gallery = gallery;
     this.authorization = authorization;
     this.requestStrategy = requestStrategy;
     this.zipLocation = dataLocation.GetLocation("zips", ActionIfMissing.CreateNew);
 }
Esempio n. 3
0
 public AccessController(
     IOpenIdAjaxRelyingParty openId,
     IUserAuthentication authentication,
     IRepository<IUserGroup> userGroupRepository,
     IAuthorizationService authorization,
     IAlbumFacade gallery
     )
     : base(authentication)
 {
     this.openId = openId;
     this.authentication = authentication;
     this.userGroupRepository = userGroupRepository;
     this.authorization = authorization;
     this.gallery = gallery;
 }
Esempio n. 4
0
 public AlbumItemController(IAlbumFacade gallery, IUserAuthentication authentication)
     : base(authentication)
 {
     this.gallery = gallery;
 }
 public SubdomainImageRequestStrategy(IAlbumFacade gallery, string subdomainPattern)
     : base(gallery)
 {
     this.currentIndex = 1;
     this.subdomainPattern = subdomainPattern.TrimEnd('.');
 }
 public SubdomainImageRequestStrategy(IAlbumFacade gallery)
     : this(gallery, "img{0}")
 {
 }
 public CookielessImageRequestStrategy(IAlbumFacade gallery)
 {
     this.gallery = gallery;
     this.RouteName = "Images (" + this.GetType() + ")";
 }