C# Class AtomicNet.StaticFileHandler.VirtualFileAssembler

Show file Open project: TyreeJackson/atomic

Public Properties

Property Type Description
CachedFile FileCache
Context HostContext
FileExtension Extension
RequestDirectoryPath string

Public Methods

Method Description
GetFileContents ( ) : void
RequestedFileIsVirtual ( ) : bool

Private Methods

Method Description
AddDependencyContent ( string fromDependency, string relativeTo, List dependents ) : void
AddFileContents ( string byParent, string fromPath ) : void
AddFileContents ( string byParent, string fromPath, List dependents ) : void
AddFileContentsIfNotAlreadyIncluded ( string byParent, string currentDependencyDirectoryPath ) : void
AddMainFileContents ( string byParent, string fromPath, bool providedThat ) : void
AddPostContentsIfTheyExist ( string byParent, string fromPath ) : void
AddPreContentsIfTheyExist ( string byParent, string fromPath ) : void
AddStaticFileContent ( string byParent, string fromPath, string physicalPath ) : void
AddStaticFileContentIfItExists ( string byParent, string fromPath ) : bool
AddVirtualizedFileContentIfItExists ( string byParent, string fromPath, List dependents ) : bool
GetDependencyEntries ( string currentDependencyDirectoryPath ) : string[]
LogMissing ( string file, string requiredBy ) : void
normalizeEndings ( string value ) : string
readAllText ( string physicalPath ) : byte[]
stripByteOrderMarks ( string value ) : string

Method Details

GetFileContents() public method

public GetFileContents ( ) : void
return void

RequestedFileIsVirtual() public method

public RequestedFileIsVirtual ( ) : bool
return bool

Property Details

CachedFile public property

public FileCache CachedFile
return FileCache

Context public property

public HostContext Context
return HostContext

FileExtension public property

public Extension FileExtension
return Extension

RequestDirectoryPath public property

public string RequestDirectoryPath
return string