Example #1
0
 /// <summary>
 /// Initalizes a new instance of the <see cref="FlickrContext"/> class.
 /// </summary>
 public FlickrContext(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     this.queryFactory = new DefaultQueryFactory(elementProxy);
 }
Example #2
0
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy = elementProxy;
     this.authRepository = authRepository;
 }
Example #3
0
 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)
 {
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Example #7
0
 /// <summary>
 /// Initailizes a new instance of <see cref="CommonRepository"/> class.
 /// </summary>
 public CommonRepository(IFlickrElement xmlElement, Type intefaceType, IFlickrSettingsProvider provider)
     : this(xmlElement, provider)
 {
     intefaceType.UpdateEndpointNames();
 }
Example #8
0
 public DesktopProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Example #9
0
 /// <summary>
 /// Initailizes a new instance of <see cref="CommonRepository"/> class.
 /// </summary>
 public CommonRepository(IFlickrElement xmlElement)
     : this(new ConfigurationFileFlickrSettingsProvider())
 {
     this.xmlElement = xmlElement;
     typeof(IRepositoryBase).UpdateEndpointNames();
 }
Example #10
0
 /// <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();
 }
Example #11
0
 public AuthenticaitonProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
 }
Example #12
0
 public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
 }
 public AuthenticaitonProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
 }
 public CommentRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy);
 }
Example #15
0
 /// <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
 }
Example #16
0
 public PhotoCollection(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : this(elementProxy)
 {
     repositoryFactory = new AuthInfoRepository(authenticationInformation);
 }
Example #17
0
 /// <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
 }
Example #18
0
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
Example #19
0
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Example #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
Example #21
0
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy   = elementProxy;
     this.authRepository = authRepository;
 }
Example #22
0
 public PhotoRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(IPhotoRepository))
 {
     this.elementProxy = elementProxy;
     authRepo = new AuthRepository(elementProxy);
 }
Example #23
0
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Example #24
0
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
Example #25
0
 public AuthRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(IAuthRepository))
 {
     this.elementProxy = elementProxy;
 }
Example #26
0
 /// <summary>
 /// Initalizes a new instance of the <see cref="FlickrContext"/> class.
 /// </summary>
 public FlickrContext(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     this.queryFactory = new DefaultQueryFactory(elementProxy);
 }
Example #27
0
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Example #28
0
 public TagRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(ITagRepository))
 {
     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();
 }
 public CommentRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy, authenticationInformation);
 }
 /// <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();
 }
Example #32
0
 public PhotoCollection(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     repositoryFactory = new DefaultRepositoryFactory();
 }
 /// <summary>
 /// Initailizes a new instance of <see cref="CommonRepository"/> class.
 /// </summary>
 public CommonRepository(IFlickrElement xmlElement, Type intefaceType, IFlickrSettingsProvider provider) : this(xmlElement, provider)
 {
     intefaceType.UpdateEndpointNames();
 }
Example #34
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
 /// <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
 }
Example #36
0
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy      = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }
 /// <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 AuthQueryFactory(IFlickrElement elementProxy, AuthInfo authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Example #39
0
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }