Class CollectionActionResult
Information about the success for a collection action
Inherited Members
Namespace:FubarDev.WebDavServer.FileSystem
Assembly:FubarDev.WebDavServer.dll
Syntax
public class CollectionActionResult
Constructors
| Improve this Doc View SourceCollectionActionResult(ICollection, IReadOnlyCollection<IEntry>)
Initializes a new instance of the CollectionActionResult class.
Declaration
public CollectionActionResult([NotNull] ICollection target, [NotNull, ItemNotNull] IReadOnlyCollection<IEntry> createdChildEntries)
Parameters
Type | Name | Description |
---|---|---|
ICollection | target | The target to create the result information for |
IReadOnlyCollection<IEntry> | createdChildEntries | The created child entries |
CollectionActionResult(ICollection, IReadOnlyCollection<IEntry>, IEntry, WebDavStatusCode)
Initializes a new instance of the CollectionActionResult class.
Declaration
public CollectionActionResult([NotNull] ICollection target, [NotNull, ItemNotNull] IReadOnlyCollection<IEntry> createdChildEntries, [CanBeNull] IEntry failedEntry, WebDavStatusCode errorStatusCode)
Parameters
Type | Name | Description |
---|---|---|
ICollection | target | The target to create the result information for |
IReadOnlyCollection<IEntry> | createdChildEntries | The created child entries |
IEntry | failedEntry | The failed child entry |
WebDavStatusCode | errorStatusCode | The status code for the failed child entry |
Properties
| Improve this Doc View SourceCreatedChildEntries
Gets the created child entries
Declaration
[NotNull]
[ItemNotNull]
public IReadOnlyCollection<IEntry> CreatedChildEntries { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IEntry> |
ErrorStatusCode
Gets the status code for the failed entry
Declaration
public WebDavStatusCode ErrorStatusCode { get; }
Property Value
Type | Description |
---|---|
WebDavStatusCode |
FailedEntry
Gets the failed entry
Declaration
[CanBeNull]
public IEntry FailedEntry { get; }
Property Value
Type | Description |
---|---|
IEntry |
Target
Gets the target this result information object is for
Declaration
[NotNull]
public ICollection Target { get; }
Property Value
Type | Description |
---|---|
ICollection |