コード例 #1
0
ファイル: FlickrContext.cs プロジェクト: havee/GiftR
 /// <summary>
 /// Initalizes a new instance of the <see cref="FlickrContext"/> class.
 /// </summary>
 public FlickrContext(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     this.queryFactory = new DefaultQueryFactory(elementProxy);
 }
コード例 #2
0
ファイル: TagRepository.cs プロジェクト: havee/GiftR
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy = elementProxy;
     this.authRepository = authRepository;
 }
コード例 #3
0
ファイル: PhotoRepository.cs プロジェクト: havee/GiftR
 public PhotoRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation, typeof(IPhotoRepository))
 {
     this.elementProxy = elementProxy;
     authRepo = new AuthRepository(elementProxy, authenticationInformation);
 }
コード例 #4
0
 public CommentCollection(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
コード例 #5
0
 public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
 }
コード例 #6
0
ファイル: DefaultQueryFactory.cs プロジェクト: havee/GiftR
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
コード例 #7
0
ファイル: CommonRepository.cs プロジェクト: havee/GiftR
 /// <summary>
 /// Initailizes a new instance of <see cref="CommonRepository"/> class.
 /// </summary>
 public CommonRepository(IFlickrElement xmlElement, Type intefaceType, IFlickrSettingsProvider provider)
     : this(xmlElement, provider)
 {
     intefaceType.UpdateEndpointNames();
 }
コード例 #8
0
 public DesktopProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
     this.elementProxy = elementProxy;
 }
コード例 #9
0
ファイル: CommonRepository.cs プロジェクト: havee/GiftR
 /// <summary>
 /// Initailizes a new instance of <see cref="CommonRepository"/> class.
 /// </summary>
 public CommonRepository(IFlickrElement xmlElement)
     : this(new ConfigurationFileFlickrSettingsProvider())
 {
     this.xmlElement = xmlElement;
     typeof(IRepositoryBase).UpdateEndpointNames();
 }
コード例 #10
0
ファイル: CommonRepository.cs プロジェクト: havee/GiftR
 /// <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();
 }
コード例 #11
0
ファイル: AuthenticaitonProvider.cs プロジェクト: havee/GiftR
 public AuthenticaitonProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
 }
コード例 #12
0
ファイル: AuthenticaitonProvider.cs プロジェクト: havee/GiftR
 public AuthenticaitonProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
 }
コード例 #13
0
 public AuthenticaitonProvider(IFlickrElement elementProxy) : base(elementProxy)
 {
 }
コード例 #14
0
 public CommentRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy);
 }
コード例 #15
0
ファイル: CommonRepository.cs プロジェクト: havee/GiftR
 /// <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
 }
コード例 #16
0
 public PhotoCollection(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : this(elementProxy)
 {
     repositoryFactory = new AuthInfoRepository(authenticationInformation);
 }
コード例 #17
0
ファイル: CommonRepository.cs プロジェクト: havee/GiftR
 /// <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
 }
コード例 #18
0
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
コード例 #19
0
 /// <summary>
 /// Initializes a new instance of  <see cref="DefaultQueryFactory"/> class.
 /// </summary>
 /// <param name="elementProxy"></param>
 public DefaultQueryFactory(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
 }
コード例 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
コード例 #21
0
 public TagRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation, IAuthRepository authRepository)
     : base(elementProxy, authenticationInformation, typeof(ITagRepository))
 {
     this.elementProxy   = elementProxy;
     this.authRepository = authRepository;
 }
コード例 #22
0
ファイル: PhotoRepository.cs プロジェクト: havee/GiftR
 public PhotoRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(IPhotoRepository))
 {
     this.elementProxy = elementProxy;
     authRepo = new AuthRepository(elementProxy);
 }
コード例 #23
0
ファイル: AuthRepository.cs プロジェクト: havee/GiftR
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
コード例 #24
0
ファイル: MemoryProvider.cs プロジェクト: havee/GiftR
 public MemoryProvider(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.authenticationInformation = authenticationInformation;
 }
コード例 #25
0
 public AuthRepository(IFlickrElement elementProxy) : base(elementProxy, typeof(IAuthRepository))
 {
     this.elementProxy = elementProxy;
 }
コード例 #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);
 }
コード例 #27
0
 public AuthRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
コード例 #28
0
ファイル: TagRepository.cs プロジェクト: havee/GiftR
 public TagRepository(IFlickrElement elementProxy)
     : base(elementProxy, typeof(ITagRepository))
 {
     this.elementProxy = elementProxy;
 }
コード例 #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();
 }
コード例 #30
0
 public CommentRepository(IFlickrElement elementProxy, AuthInfo authenticationInformation)
     : base(elementProxy, authenticationInformation, typeof(ICommentRepository))
 {
     this.elementProxy = elementProxy;
     authRepo          = new AuthRepository(elementProxy, authenticationInformation);
 }
コード例 #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();
 }
コード例 #32
0
 public PhotoCollection(IFlickrElement elementProxy)
 {
     this.elementProxy = elementProxy;
     repositoryFactory = new DefaultRepositoryFactory();
 }
コード例 #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();
 }
コード例 #34
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultRepositoryFactory"/> class.
 /// </summary>
 public DefaultRepositoryFactory()
 {
     this.elementProxy = new FlickrElementProxy(new WebRequestProxy());
 }
コード例 #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
 }
コード例 #36
0
ファイル: WebProvider.cs プロジェクト: ARLM-Attic/linq2flickr
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy      = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }
コード例 #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
 }
コード例 #38
0
 public AuthQueryFactory(IFlickrElement elementProxy, AuthInfo authenticationInformation)
 {
     this.elementProxy = elementProxy;
     this.authenticationInformation = authenticationInformation;
 }
コード例 #39
0
ファイル: WebProvider.cs プロジェクト: havee/GiftR
 public WebProvider(IFlickrElement elementProxy)
     : base(elementProxy)
 {
     this.elementProxy = elementProxy;
     flickrSettingsProvider = new ConfigurationFileFlickrSettingsProvider();
 }