Interface IFilesOwner
Сущность, способная владеть файлами.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IFilesOwner : IPropertyOwner, IPropertyValueOwner, IAbleToHaveId, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
Files
Возвращает коллекцию файлов.
Declaration
IApiReadOnlyCollection<IFile> Files { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IFile> |
Methods
CreateFile(string, byte[], Guid?)
Создает файл.
Declaration
IFile CreateFile(string name, byte[] body, Guid? id = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя файла. |
| byte[] | body | Содержимое файла. |
| Guid? | id | Уникальный идентификатор. |
Returns
| Type | Description |
|---|---|
| IFile | Созданный файл. |