-
Notifications
You must be signed in to change notification settings - Fork 0
05c85d1b e4e2 db6e 96e7 2b1e8b63402d
AnyOldName3 edited this page Apr 12, 2017
·
1 revision
Represents a source (individual layer) in the LVFS.
System.Object
LVFS.External.Source
LVFS.External.WritableSource
Namespace: LVFS.External
Assembly: LVFS (in LVFS.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public abstract class Source
VB
Public MustInherit Class Source
C++
public ref class Source abstract
F#
[<AbstractClassAttribute>]
type Source = class end
The Source type exposes the following members.
Name | Description | |
---|---|---|
Source | Construct a source. |
Name | Description | |
---|---|---|
HasWritablePredecessor | True if a predecessor source exists and is writable | |
IsFirst | True if this source has no predecessor. False otherwise. | |
IsWritable | True if the source is writable |
Name | Description | |
---|---|---|
CleanupFileHandle | Called when the last handle for a file has been closed, but not necessarily released. This is an appropriate place to delete the file if DeleteOnClose is set. This must recursively call the predecessor version if the predecessor source may have been invloved in any operations with this context. | |
CloseFileHandle | Called once the last handle for a file has been closed and released. info.Context will be lost after this method returns, so must be ready for this. This must recursively call the predecessor version if the predecessor source may have been invloved in any operations with this context. | |
ControlsFile | Gets whether or not this source controls the specified file | |
CreateFileHandle | Called when a file handle is requested. If this is an inappropriate action for this source, the request is passed on to the predecessor. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFileInformation | Gets file information for the file with the specified path (if it exists in this source or a predecessor), or null otherwise. | |
GetFileSystemSecurity | Gets a FileSystemSecurity object representing security information for the requested path, filtered to only include the specified sections. Returns null if the file cannot be found in this or a predecessor source, and throws an UnauthorisedAccessException if the OS denies access to the data requested. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPredecessorFileInformation | As with GetFileInformation, but for the predecessor source. | |
GetPredecessorFileSystemSecurity | As with GetFileSystemSecurity, but for the predecessor source. | |
GetSpaceInformation | If possible, returns a tuple of the free, total and available space for the storage medium holding the current source. Otherwise, returns null. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasDirectory | Gets whether or not this source or a predecessor controls the specified directory. | |
HasFile | Gets whether or not this source or a predecessor controls the specified file. | |
HasFilesInDirectory | Gets whether or not this source or a predecessor exposes a directory which is non-empty. | |
HasRegularFile | Gets whether or not this source or a predecessor controls the specified regular (i.e. non-directory) file. | |
ListFiles | Lists the files and subdirectories contained within a given directory, including those of the predecessor source. | |
ListPredecessorFiles | As with ListFiles, but for the predecessor source. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnMount | Called when a filesystem including the source is mounted. | |
OnUnmount | Called when a filesystem including the source is unmounted. | |
PredecessorCleanupFileHandle | As with CleanupFileHandle, but for the predecessor source. | |
PredecessorCloseFileHandle | As with CloseFileHandle, but for the predecessor source. | |
PredecessorCreateFileHandle | As with CreateFileHandle, but for the predecessor source. | |
PredecessorHasDirectory | As with HasDirectory(String), but for the predecessor source. | |
PredecessorHasFile | As with HasFile(String), but for the predecessor source | |
PredecessorHasFilesInDirectory | As with HasFilesInDirectory(String), but for the predecessor source. | |
PredecessorHasRegularFile | As with HasRegularFile(String), but for the predecessor source. | |
PredecessorReadFile | As with ReadFile, but for the predecessor source. | |
PredecessorTryLockFileRegion | As with TryLockFileRegion, but for the predecessor source. | |
PredecessorTryUnlockFileRegion | As with TryUnlockFileRegion, but for the predecessor source. | |
ReadFile | Gets the contents of the specified file starting at the specified offset and attempts to fill the buffer. If this is an inappropriate action for this source, the request is passed on to the predecessor. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryLockFileRegion | Locks a region of the specified file from the specified offset with the specified length if possible. The region is either entirely locked or entirely unlocked at the end of the operation. If this is an inappropriate action for this source, the request is passed on to the predecessor. | |
TryUnlockFileRegion | Unlocks a region of the specified file from the specified offset with the specified length if possible. If this is an inappropriate action for this source, the request is passed on to the predecessor. |
A Sandcastle Documented Class Library
Send comments on this topic to [](mailto:?Subject=A Sandcastle Documented Class Library)
-
LVFS.External Namespace
-
LVFSContextInfo Class
-
LVFSContextInfo Properties
- LVFSContextInfo.Context Property
- LVFSContextInfo.DeleteOnClose Property
- LVFSContextInfo.GetRequestor Property
- LVFSContextInfo.IsDirectory Property
- LVFSContextInfo.NoCache Property
- LVFSContextInfo.PagingIo Property
- LVFSContextInfo.ProcessId Property
- LVFSContextInfo.SynchronousIo Property
- LVFSContextInfo.TryResetTimeout Property
- LVFSContextInfo.WriteToEndOfFile Property
- LVFSContextInfo Methods
-
LVFSContextInfo Properties
- LVFSInterface Class
-
Source Class
- Source Constructor
- Source Properties
-
Source Methods
- Source.CleanupFileHandle Method
- Source.CloseFileHandle Method
- Source.ControlsFile Method
- Source.CreateFileHandle Method
- Source.GetFileInformation Method
- Source.GetFileSystemSecurity Method
- Source.GetPredecessorFileInformation Method
- Source.GetPredecessorFileSystemSecurity Method
- Source.GetSpaceInformation Method
- Source.HasDirectory Method
- Source.HasFile Method
- Source.HasFilesInDirectory Method
- Source.HasRegularFile Method
- Source.ListFiles Method
- Source.ListPredecessorFiles Method
- Source.OnMount Method
- Source.OnUnmount Method
- Source.PredecessorCleanupFileHandle Method
- Source.PredecessorCloseFileHandle Method
- Source.PredecessorCreateFileHandle Method
- Source.PredecessorHasDirectory Method
- Source.PredecessorHasFile Method
- Source.PredecessorHasFilesInDirectory Method
- Source.PredecessorHasRegularFile Method
- Source.PredecessorReadFile Method
- Source.PredecessorTryLockFileRegion Method
- Source.PredecessorTryUnlockFileRegion Method
- Source.ReadFile Method
- Source.TryLockFileRegion Method
- Source.TryUnlockFileRegion Method
-
WritableSource Class
- WritableSource Constructor
- WritableSource Properties
-
WritableSource Methods
- WritableSource.CheckDirectoryDeletable Method
- WritableSource.CheckFileDeletable Method
- WritableSource.FlushBuffers Method
- WritableSource.MoveFile Method
- WritableSource.PredecessorCheckDirectoryDeletable Method
- WritableSource.PredecessorCheckFileDeletable Method
- WritableSource.PredecessorFlushBuffers Method
- WritableSource.PredecessorMoveFile Method
- WritableSource.PredecessorSetAllocatedSize Method
- WritableSource.PredecessorSetFileAttributes Method
- WritableSource.PredecessorSetFileSecurity Method
- WritableSource.PredecessorSetFileTimes Method
- WritableSource.PredecessorSetLength Method
- WritableSource.PredecessorWriteFile Method
- WritableSource.SetAllocatedSize Method
- WritableSource.SetFileAttributes Method
- WritableSource.SetFileSecurity Method
- WritableSource.SetFileTimes Method
- WritableSource.SetLength Method
- WritableSource.WriteFile Method
-
LVFSContextInfo Class