Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttachmentManager"/> class.
 /// </summary>
 /// <param name="attachmentAccess">Provides access to application attachments.</param>
 /// <param name="dataAccess">Provides access to the data layer.</param>
 /// <param name="applicationManager">Manages applications.</param>
 /// <param name="entitlementProvider">The entitlement provider.</param>
 public AttachmentManager(IAttachmentAccess attachmentAccess, IDataAccess dataAccess, ApplicationManager applicationManager, IApplicationEntitlementProvider entitlementProvider)
     : base(dataAccess)
 {
     this.attachmentAccess = attachmentAccess;
     this.applicationManager = applicationManager;
     this.entitlementProvider = entitlementProvider;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExternalDataSourceProvider"/> class.
 /// </summary>
 /// <param name="applicationManager">An application manager.</param>
 /// <param name="dataAccess">A data access.</param>
 /// <param name="communicator">A service endpoint communicator.</param>
 public ExternalDataSourceProvider(ApplicationManager applicationManager, IDataAccess dataAccess, IServiceEndpointCommunicator communicator)
 {
     this.applicationManager = applicationManager;
     this.dataAccess = dataAccess;
     this.communicator = communicator;
 }