/// <summary> /// Initalizes a new instance of the <see cref="FlickrContext"/> class. /// </summary> public FlickrContext(IFlickrElement elementProxy) { this.elementProxy = elementProxy; this.queryFactory = new DefaultQueryFactory(elementProxy); }
public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository) : base(elementProxy, authenticationInformation, typeof(ITagRepository)) { this.elementProxy = elementProxy; this.authRepository = authRepository; }
public PhotoRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation) : base(elementProxy, authenticationInformation, typeof(IPhotoRepository)) { this.elementProxy = elementProxy; authRepo = new AuthRepository(elementProxy, authenticationInformation); }
public CommentCollection(IFlickrElement elementProxy) { this.elementProxy = elementProxy; }
public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation) : base(elementProxy, authenticationInformation) { }
/// <summary> /// Initializes a new instance of <see cref="DefaultQueryFactory"/> class. /// </summary> /// <param name="elementProxy"></param> public DefaultQueryFactory(IFlickrElement elementProxy) { this.elementProxy = elementProxy; }
/// <summary> /// Initailizes a new instance of <see cref="CommonRepository"/> class. /// </summary> public CommonRepository(IFlickrElement xmlElement, Type intefaceType, IFlickrSettingsProvider provider) : this(xmlElement, provider) { intefaceType.UpdateEndpointNames(); }
public DesktopProvider(IFlickrElement elementProxy) : base(elementProxy) { this.elementProxy = elementProxy; }
/// <summary> /// Initailizes a new instance of <see cref="CommonRepository"/> class. /// </summary> public CommonRepository(IFlickrElement xmlElement) : this(new ConfigurationFileFlickrSettingsProvider()) { this.xmlElement = xmlElement; typeof(IRepositoryBase).UpdateEndpointNames(); }
/// <summary> /// Initailizes a new instance of <see cref="CommonRepository"/> class. /// </summary> public CommonRepository(IFlickrElement xmlElement, IFlickrSettingsProvider authInfo) : this(authInfo) { this.xmlElement = xmlElement; typeof(IRepositoryBase).UpdateEndpointNames(); }
public AuthenticaitonProvider(IFlickrElement elementProxy) : base(elementProxy) { }
public CommentRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(ICommentRepository)) { this.elementProxy = elementProxy; authRepo = new AuthRepository(elementProxy); }
/// <summary> /// Initailizes a new instance of <see cref="CommonRepository"/> class. /// </summary> public CommonRepository(IFlickrElement xmlElement, Type interfaceType) : this(xmlElement, interfaceType, new ConfigurationFileFlickrSettingsProvider()) { //intentionally left blank }
public PhotoCollection(IFlickrElement elementProxy, AuthInfo authenticationInformation) : this(elementProxy) { repositoryFactory = new AuthInfoRepository(authenticationInformation); }
/// <summary> /// Initailizes a new instance of <see cref="CommonRepository"/> class. /// </summary> public CommonRepository(IFlickrElement xmlElement, AuthInfo authInfo, Type interfaceType) : this(xmlElement, interfaceType, new AuthenticationInformationFlickrSettingsProvider(authInfo)) { //intentionally left blank }
public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation) : base(elementProxy, authenticationInformation) { this.authenticationInformation = authenticationInformation; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class. /// </summary> public DefaultRepositoryFactory() { this.elementProxy = new FlickrElementProxy(new WebRequestProxy()); }
public PhotoRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(IPhotoRepository)) { this.elementProxy = elementProxy; authRepo = new AuthRepository(elementProxy); }
public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation) : base(elementProxy, authenticationInformation) { this.elementProxy = elementProxy; this.authenticationInformation = authenticationInformation; }
public AuthRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(IAuthRepository)) { this.elementProxy = elementProxy; }
public TagRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(ITagRepository)) { this.elementProxy = elementProxy; }
public CommentRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation) : base(elementProxy, authenticationInformation, typeof(ICommentRepository)) { this.elementProxy = elementProxy; authRepo = new AuthRepository(elementProxy, authenticationInformation); }
public PhotoCollection(IFlickrElement elementProxy) { this.elementProxy = elementProxy; repositoryFactory = new DefaultRepositoryFactory(); }
public WebProvider(IFlickrElement elementProxy) : base(elementProxy) { this.elementProxy = elementProxy; flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider(); }
public AuthQueryFactory(IFlickrElement elementProxy, AuthInfo authenticationInformation) { this.elementProxy = elementProxy; this.authenticationInformation = authenticationInformation; }