Table of Contents

Interface InputMedia.IMediaFile

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
protected interface InputMedia.IMediaFile

Properties

IsValid

bool IsValid { get; }

Property Value

bool

Name

string Name { get; }

Property Value

string

Size

int Size { get; }

Property Value

int

ValidationError

string ValidationError { get; set; }

Property Value

string

Methods

Delete()

void Delete()

Open(Action<Stream>)

void Open(Action<Stream> action)

Parameters

action Action<Stream>

Save(Guid, FileObjectType, string, bool)

FileStorageModel Save(Guid objectIdentifier, FileObjectType objectType, string fileName = null, bool checkFileValid = true)

Parameters

objectIdentifier Guid
objectType FileObjectType
fileName string
checkFileValid bool

Returns

FileStorageModel