View Source
Interface IFileType
Assembly: Umbraco.Core.dll
Syntax
public interface IFileType
Properties
View Source
CanSetPhysical
Declaration
bool CanSetPhysical { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
GetChecksumStream(StringUdi)
Declaration
Stream GetChecksumStream(StringUdi udi)
Parameters
Returns
View Source
GetLength(StringUdi)
Declaration
long GetLength(StringUdi udi)
Parameters
Returns
Type |
Description |
System.Int64 |
|
View Source
GetPhysicalPath(StringUdi)
Declaration
string GetPhysicalPath(StringUdi udi)
Parameters
Returns
Type |
Description |
System.String |
|
View Source
GetStream(StringUdi)
Declaration
Stream GetStream(StringUdi udi)
Parameters
Returns
View Source
GetStreamAsync(StringUdi, CancellationToken)
Declaration
Task<Stream> GetStreamAsync(StringUdi udi, CancellationToken token)
Parameters
Type |
Name |
Description |
StringUdi |
udi |
|
CancellationToken |
token |
|
Returns
Type |
Description |
Task<Stream> |
|
View Source
GetVirtualPath(StringUdi)
Declaration
string GetVirtualPath(StringUdi udi)
Parameters
Returns
Type |
Description |
System.String |
|
View Source
Set(StringUdi, String, Boolean)
Declaration
void Set(StringUdi udi, string physicalPath, bool copy = false)
Parameters
Type |
Name |
Description |
StringUdi |
udi |
|
System.String |
physicalPath |
|
System.Boolean |
copy |
|
View Source
SetStream(StringUdi, Stream)
Declaration
void SetStream(StringUdi udi, Stream stream)
Parameters
Type |
Name |
Description |
StringUdi |
udi |
|
Stream |
stream |
|
View Source
SetStreamAsync(StringUdi, Stream, CancellationToken)
Declaration
Task SetStreamAsync(StringUdi udi, Stream stream, CancellationToken token)
Parameters
Type |
Name |
Description |
StringUdi |
udi |
|
Stream |
stream |
|
CancellationToken |
token |
|
Returns