/// <summary> /// Initializes a new instance of the <see cref="OneDriveStorageFilePlatform"/> class. /// </summary> /// <param name="service">Instance of OneDriveService</param> /// <param name="oneDriveStorageFile">Instance of OneDriveStorageFile</param> public OneDriveStorageFilePlatform( Toolkit.Services.OneDrive.OneDriveService service, Toolkit.Services.OneDrive.OneDriveStorageFile oneDriveStorageFile) { _service = service; _oneDriveStorageFile = oneDriveStorageFile; }
/// <summary> /// Creates an instance of platform-specific implementation. /// </summary> /// <param name="oneDriveService">Instance of the service.</param> /// <param name="oneDriveStorageFile">Instance of the storage file.</param> /// <returns>Returns concrete type.</returns> public IOneDriveStorageFilePlatform CreateOneDriveStorageFilePlatformInstance(Toolkit.Services.OneDrive.OneDriveService oneDriveService, Toolkit.Services.OneDrive.OneDriveStorageFile oneDriveStorageFile) { return(new OneDriveStorageFilePlatform(oneDriveService, oneDriveStorageFile)); }