Class LocalFileStreamMediaContentSource
Wraps a file access in a LocalStream
Inheritance
System.Object
LocalFileStreamMediaContentSource
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public class LocalFileStreamMediaContentSource : FileStreamMediaContentSource, IDisposable
Constructors
LocalFileStreamMediaContentSource(String, String)
Creates a Media content source wrapped around a file using the LocalStream to utilize shadow copy
Declaration
public LocalFileStreamMediaContentSource(string path, string distinguisher)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | |
System.String | distinguisher |
Methods
GetStream()
Declaration
public override Stream GetStream()
Returns
Type | Description |
---|---|
System.IO.Stream |
Overrides
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable