/// <summary>
 /// Initializes a new instance of the <see cref="GoogleDriveFileSystemProvider"/> class.
 /// </summary>
 /// <param name="serviceProvider">The google drive service provider.</param>
 /// <param name="temporaryDataFactory">The factory to create temporary data objects.</param>
 public GoogleDriveFileSystemProvider(
     [NotNull] IGoogleDriveServiceProvider serviceProvider,
     [NotNull] ITemporaryDataFactory temporaryDataFactory)
 {
     _serviceProvider      = serviceProvider;
     _temporaryDataFactory = temporaryDataFactory;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GoogleDriveFileSystemProvider"/> class.
 /// </summary>
 /// <param name="serviceProvider">The google drive service provider.</param>
 /// <param name="temporaryDataFactory">The factory to create temporary data objects.</param>
 /// <param name="options">Options for the Google Drive file system.</param>
 public GoogleDriveFileSystemProvider(
     [NotNull] IGoogleDriveServiceProvider serviceProvider,
     [NotNull] ITemporaryDataFactory temporaryDataFactory,
     [NotNull] IOptions <GoogleDriveOptions> options)
 {
     _serviceProvider      = serviceProvider;
     _temporaryDataFactory = temporaryDataFactory;
     _options = options.Value;
 }