Свойство | Тип | Описание | |
---|---|---|---|
CopyStream | void |
Метод | Описание | |
---|---|---|
GetDataStream ( ) : Stream |
returns the stream for the file. The file will be opened in readonly mode note, the caller has to release the resource
|
|
MediaFileSource ( Stream data, string fileName, string contentType ) : System |
constructor. note that you can override the slug header without influencing the filename
|
|
MediaFileSource ( string fileName, string contentType ) : System |
constructor. note that you can override the slug header without influencing the filename
|
Метод | Описание | |
---|---|---|
CopyStream ( Stream input, Stream output ) : void |
public MediaFileSource ( Stream data, string fileName, string contentType ) : System | ||
data | Stream | The stream for the file. If this constructor is used, the filename is only /// used for descriptive purposes, the data will be read from the passed stream |
fileName | string | the file to be used, this will be the default slug header |
contentType | string | the content type to be used |
Результат | System |
public MediaFileSource ( string fileName, string contentType ) : System | ||
fileName | string | the file to be used, this will be the default slug header |
contentType | string | the content type to be used |
Результат | System |