Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy = elementProxy;
     this.authRepository = authRepository;
 }
Ejemplo n.º 3
0
 public PhotoRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation, typeof(IPhotoRepository))
 {
     this.elementProxy = elementProxy;
     authRepo = new AuthRepository(elementProxy, authenticationInformation);
 }
Ejemplo n.º 4
0
 public CommentCollection(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
 public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 8
0
 public DesktopProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 11
0
 public AuthenticaitonProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
 }
Ejemplo n.º 12
0
 public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
 }
 public AuthenticaitonProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
 }
Ejemplo n.º 14
0
 public CommentRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy);
 }
Ejemplo n.º 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
 }
Ejemplo n.º 16
0
 public PhotoCollection(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : this(elementProxy)
 {
     repositoryFactory = new AuthInfoRepository(authenticationInformation);
 }
Ejemplo n.º 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
 }
Ejemplo n.º 18
0
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
Ejemplo n.º 21
0
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy   = elementProxy;
     this.authRepository = authRepository;
 }
Ejemplo n.º 22
0
 public PhotoRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(IPhotoRepository))
 {
     this.elementProxy = elementProxy;
     authRepo = new AuthRepository(elementProxy);
 }
Ejemplo n.º 23
0
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Ejemplo n.º 24
0
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
Ejemplo n.º 25
0
 public AuthRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(IAuthRepository))
 {
     this.elementProxy = elementProxy;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 27
0
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Ejemplo n.º 28
0
 public TagRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(ITagRepository))
 {
     this.elementProxy = elementProxy;
 }
Ejemplo n.º 29
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();
 }
Ejemplo n.º 30
0
 public CommentRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy, authenticationInformation);
 }
Ejemplo n.º 31
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();
 }
Ejemplo n.º 32
0
 public PhotoCollection(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     repositoryFactory = new DefaultRepositoryFactory();
 }
Ejemplo n.º 33
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();
 }
Ejemplo n.º 34
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
Ejemplo n.º 35
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
 }
Ejemplo n.º 36
0
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy      = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }
Ejemplo n.º 37
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
 }
Ejemplo n.º 38
0
 public AuthQueryFactory(IFlickrElement elementProxy, AuthInfo authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
Ejemplo n.º 39
0
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }