Web
Docs
Framework
Guide
API
GitHub
Twitter
Get Help
Support/Buy
IFileExtensions
Class
Namespace
Statiq
.Common
Class Types
ActionDisposable
Action
Disposable
Stream
AfterEngineExecution
AfterModuleExecution
After
Pipeline
Phase
Execution
Analyzer
ApplicationState
AssemblyComparer
AsyncExtensions
BeforeDeployment
Before
Engine
Execution
Before
Module
Execution
Before
Pipeline
Phase
Execution
Bootstrapper
Configuration
Extensions
Bootstrapper
Event
Extensions
Bootstrapper
File
System
Extensions
Bootstrapper
Pipeline
Extensions
Bootstrapper
Settings
Extensions
Bootstrapper
Shortcode
Extensions
CacheCode
Cached
Delegate
Metadata
Value
Change
Level
Logger
Provider
ChildDocumentsModule
ClassCatalog
Class
Catalog
Extensions
ComparisonComparer
<T>
ConcurrentCache
<TKey,
TValue>
Config
<TValue>
Config
Config
Combine
With
Extensions
ConfigExtensions
ConfigModule
<TValue>
Config
Transform
Extensions
Configurable
Configuration
Configurable
File
System
ConfigurableServices
ConfigurableSettings
ConvertingComparer
<T>
ConvertingDictionary
Converting
Equality
Comparer
<T>
Crc32
Date
Time
Culture
Extensions
DelegateAnalyzer
DelegateConfigurator
<
T
Configurable>
DelegateContent
DelegateItemStream
<TItem>
Delegate
Metadata
Value
Delegate
String
Item
Stream
<TItem>
DelegatingStream
Directory
Equality
Comparer
Document
<TDocument>
Document
DocumentFactory
DocumentFileProvider
DocumentIdComparer
<TDocument>
DocumentIdComparer
DocumentList
<TDocument>
Document
Metadata
Comparer
<TValue>
Document
Metadata
Comparer
<TDocument,
TValue>
DocumentMetadataTree
<TDocument>
DocumentPathTree
<TDocument>
EmptyDisposable
EnumerableEnumerator
<TValue>
ExceptionExtensions
ExecutionException
ExecutionOutputs
ExplicitGrouping
<TKey,
TValue>
FactoryDocument
FileContent
FileEqualityComparer
FilteredDocumentList
<TDocument>
FilteredMetadata
ForAllDocuments
ForEachDocument
Globber
GroupByExtensions
GuardExtensions
Html
Document
Cache
Initializer
HtmlHelper
I
Analyzer
Collection
Extensions
I
Collection
Extensions
IComparerExtensions
I
Configurator
Collection
Extensions
I
Dictionary
Extensions
I
Displayable
Extensions
I
Document
Clone
Extensions
I
Document
Enumerable
Extensions
IDocumentExtensions
I
Document
Factory
Create
Document
Extensions
I
Document
Get
Link
Extensions
I
Document
Group
By
Extensions
I
Document
Html
Extensions
I
Document
Path
Tree
Extensions
I
Document
To
Lookup
Extensions
I
Document
Tree
Extensions
I
Document
Yield
Extensions
IElementExtensions
I
Enumerable
Extensions
I
Equality
Comparer
Extensions
I
Event
Collection
Extensions
I
Execution
Context
Clone
Or
Create
Documents
Extensions
I
Execution
Context
Create
Document
From
Stream
Extensions
I
Execution
Context
Create
Document
From
String
Extensions
I
Execution
Context
Execute
Modules
Extensions
I
Execution
Context
Get
Content
Provider
Extensions
I
Execution
State
Extensions
I
Execution
State
Get
Link
Extensions
IFileExtensions
ILoggerExtensions
I
Markup
Formattable
Extensions
I
Memory
Stream
Factory
Extensions
I
Metadata
Conversion
Extensions
I
Metadata
Get
Extensions
I
Metadata
Json
Extensions
I
Metadata
Xml
Extensions
IModuleExtensions
Intercepting
Logger
Provider
InterlockedBool
Invalid
Conversion
Exception
I
Parallel
Module
Extensions
I
Pipeline
Collection
Extensions
IPipelineExtensions
I
Pipeline
Outputs
Extensions
I
Read
Only
Application
State
Extensions
I
Read
Only
Dictionary
Extensions
I
Read
Only
File
System
Extensions
I
Read
Only
List
Extensions
I
Read
Only
Settings
Extensions
I
Service
Collection
Extensions
I
Service
Provider
Extensions
I
Shortcode
Collection
Extensions
ItemStream
<TItem>
Keys
Lazy
Document
Metadata
Value
LinkGenerator
LockingStreamWrapper
LoggedException
Logger
Factory
Logger
Wrapper
MediaTypes
MemoryContent
MemoryExtensions
MemoryItemStream
Memory
String
Equality
Comparer
Metadata
MetadataDictionary
Metadata
Dictionary
Json
Converter
MetadataItems
Module
ModuleList
MultiConfigModule
Multi
Config
Module
Base
MultiShortcode
MultiValueDictionary
<TKey,
TValue>
NamedPipelineWrapper
NullContent
NullTextWriter
ObjectDocument
<T>
Object
To
Document
Extensions
Parallel
Async
Extensions
ParallelConfigModule
<TValue>
ParallelModule
Parallel
Multi
Config
Module
Parallel
Sync
Config
Module
<TValue>
ParallelSyncModule
Parallel
Sync
Multi
Config
Module
ParentModule
Parent
Module
Extensions
PathCollection
PathEqualityComparer
ProcessLauncher
PropertyMetadata
<T>
Property
Metadata
Attribute
ReadDataModule
<TModule,
TItem>
Read
Only
Converting
Dictionary
ScriptMetadataValue
Settings
SettingsParser
Shortcode
Shortcode
Args
Extensions
Shortcode
Argument
Exception
ShortcodeHelper
Shortcode
Parser
Exception
ShortcodeResult
ShouldExtensions
SignalingStream
SpanExtensions
StatiqLogState
<TInnerState>
StatiqLogState
Statiq
Markup
Formatter
StreamContent
StreamExtensions
StringContent
StringExtensions
StringItemStream
<TItem>
StringItemStream
StringStream
SyncAnalyzer
Sync
Child
Documents
Module
SyncConfigModule
<TValue>
SyncModule
Sync
Multi
Config
Module
SyncMultiShortcode
SyncParentModule
SyncShortcode
TaskExtensions
ToLookupExtensions
To
String
Table
Extensions
TypeHelper
ZipFileHelper
Delegate Types
AsyncEventHandler
<TEvent>
EventHandler
<TEvent>
Enum Types
CleanMode
ExecutionPolicy
PathKind
Phase
Interface Types
IAnalyzer
IAnalyzerCollection
IAnalyzerContext
IApplicationState
IBaseCommand
IBootstrapper
I
Bootstrapper
Initializer
ICacheCode
IConcurrentCache
IConfig
IConfigurable
IConfigurator
<
T
Configurable>
I
Configurator
Collection
IContentProvider
I
Content
Provider
Factory
IDirectory
IDisplayable
IDocument
IDocumentFactory
IDocumentPathTree
<TDocument>
IDocumentTree
<TDocument>
IEngine
IEngineInitializer
IEventCollection
IExecutionContext
IExecutionState
IFile
IFileCleaner
IFileProvider
IFileSystem
IFileSystemEntry
IFileWriteTracker
IJavaScriptEngine
I
Java
Script
Engine
Pool
ILinkGenerator
IMemoryStreamFactory
IMetadata
IMetadataDictionary
IMetadataValue
IModule
INamedPipeline
I
Named
Pipeline
Wrapper
I
Namespaces
Collection
IParallelModule
IPipeline
IPipelineCollection
IPipelineOutputs
I
Read
Only
Event
Collection
IReadOnlyFileSystem
IReadOnlyPipeline
I
Read
Only
Pipeline
Collection
IReadOnlySettings
I
Read
Only
Shortcode
Collection
IScriptHelper
ISettings
IShortcode
IShortcodeCollection
Structure Types
MetadataItem
NormalizedPath
RelativeUrl
Namespace
Statiq
.Common
Base Types
object
graph BT Type-->Base0["object"] Type["IFileExtensions"] class Type type-node
Syntax
public static class IFileExtensions
Methods
Name
Return Value
Summary
AppendFromAsync
(IFile,
Stream,
bool,
CancellationToken)
Task
Copies from a source stream to a file, appending to the end of the file.
static
CopyToAsync
(IFile,
IFile,
bool,
bool,
CancellationToken)
Task
Copies the file to the specified destination file, truncating any remaining data in the destination file.
static
CopyToAsync
(IFile,
Stream,
CancellationToken)
Task
Copies from a file to a destination stream.
static
DeserializeJsonAsync
(IFile,
Type,
Json
Serializer
Options,
CancellationToken)
ValueTask
<object>
static
DeserializeJsonAsync
<TValue>
(IFile,
Json
Serializer
Options,
CancellationToken)
ValueTask
<TValue>
static
MoveToAsync
(IFile,
IFile,
CancellationToken)
Task
Moves the file to the specified destination file, truncating any remaining data in the destination file.
static
SerializeJsonAsync
(IFile,
object,
Type,
bool,
Json
Serializer
Options,
CancellationToken)
Task
static
SerializeJsonAsync
(IFile,
object,
Type,
Json
Serializer
Options,
CancellationToken)
Task
static
SerializeJsonAsync
<TValue>
(IFile,
TValue,
bool,
Json
Serializer
Options,
CancellationToken)
Task
static
SerializeJsonAsync
<TValue>
(IFile,
TValue,
Json
Serializer
Options,
CancellationToken)
Task
static
WriteFromAsync
(IFile,
Stream,
bool,
bool,
CancellationToken)
Task
Copies from a source stream to a file, truncating any remaining data in the destination file.
static
On This Page
Syntax
Methods