C# Класс WebDav.WebDavResource.Builder

Represents a builder of the WebDavResource class.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Build ( ) : WebDavResource

Builds a new instance of the WebDavResource class.

IsCollection ( ) : Builder

Sets the IsCollection parameter of an instance of the WebDavResource class to true.

IsHidden ( ) : Builder

Sets the IsHidden parameter of an instance of the WebDavResource class to true.

IsNotCollection ( ) : Builder

Sets the IsCollection parameter of an instance of the WebDavResource class to false.

IsNotHidden ( ) : Builder

Sets the IsHidden parameter of an instance of the WebDavResource class to false.

WithActiveLocks ( IReadOnlyCollection activeLocks ) : Builder

Sets the ActiveLocks parameter of an instance of the WebDavResource class.

WithContentLanguage ( string contentLanguage ) : Builder

Sets the ContentLanguage parameter of an instance of the WebDavResource class.

WithContentLength ( int contentLength ) : Builder

Sets the ContentLength parameter of an instance of the WebDavResource class.

WithContentType ( string contentType ) : Builder

Sets the ContentType parameter of an instance of the WebDavResource class.

WithCreationDate ( System.DateTime creationDate ) : Builder

Sets the CreationDate parameter of an instance of the WebDavResource class.

WithDisplayName ( string displayName ) : Builder

Sets the DisplayName parameter of an instance of the WebDavResource class.

WithETag ( string eTag ) : Builder

Sets the ETag parameter of an instance of the WebDavResource class.

WithLastModifiedDate ( System.DateTime lastModifiedDate ) : Builder

Sets the LastModifiedDate parameter of an instance of the WebDavResource class.

WithProperties ( IReadOnlyCollection properties ) : Builder

Sets the Properties parameter of an instance of the WebDavResource class.

WithPropertyStatuses ( IReadOnlyCollection propertyStatuses ) : Builder

Sets the PropertyStatuses parameter of an instance of the WebDavResource class.

WithUri ( string uri ) : Builder

Sets the Uri parameter of an instance of the WebDavResource class.

Описание методов

Build() публичный Метод

Builds a new instance of the WebDavResource class.
public Build ( ) : WebDavResource
Результат WebDavResource

IsCollection() публичный Метод

Sets the IsCollection parameter of an instance of the WebDavResource class to true.
public IsCollection ( ) : Builder
Результат Builder

IsHidden() публичный Метод

Sets the IsHidden parameter of an instance of the WebDavResource class to true.
public IsHidden ( ) : Builder
Результат Builder

IsNotCollection() публичный Метод

Sets the IsCollection parameter of an instance of the WebDavResource class to false.
public IsNotCollection ( ) : Builder
Результат Builder

IsNotHidden() публичный Метод

Sets the IsHidden parameter of an instance of the WebDavResource class to false.
public IsNotHidden ( ) : Builder
Результат Builder

WithActiveLocks() публичный Метод

Sets the ActiveLocks parameter of an instance of the WebDavResource class.
public WithActiveLocks ( IReadOnlyCollection activeLocks ) : Builder
activeLocks IReadOnlyCollection
Результат Builder

WithContentLanguage() публичный Метод

Sets the ContentLanguage parameter of an instance of the WebDavResource class.
public WithContentLanguage ( string contentLanguage ) : Builder
contentLanguage string
Результат Builder

WithContentLength() публичный Метод

Sets the ContentLength parameter of an instance of the WebDavResource class.
public WithContentLength ( int contentLength ) : Builder
contentLength int
Результат Builder

WithContentType() публичный Метод

Sets the ContentType parameter of an instance of the WebDavResource class.
public WithContentType ( string contentType ) : Builder
contentType string
Результат Builder

WithCreationDate() публичный Метод

Sets the CreationDate parameter of an instance of the WebDavResource class.
public WithCreationDate ( System.DateTime creationDate ) : Builder
creationDate System.DateTime
Результат Builder

WithDisplayName() публичный Метод

Sets the DisplayName parameter of an instance of the WebDavResource class.
public WithDisplayName ( string displayName ) : Builder
displayName string
Результат Builder

WithETag() публичный Метод

Sets the ETag parameter of an instance of the WebDavResource class.
public WithETag ( string eTag ) : Builder
eTag string
Результат Builder

WithLastModifiedDate() публичный Метод

Sets the LastModifiedDate parameter of an instance of the WebDavResource class.
public WithLastModifiedDate ( System.DateTime lastModifiedDate ) : Builder
lastModifiedDate System.DateTime
Результат Builder

WithProperties() публичный Метод

Sets the Properties parameter of an instance of the WebDavResource class.
public WithProperties ( IReadOnlyCollection properties ) : Builder
properties IReadOnlyCollection
Результат Builder

WithPropertyStatuses() публичный Метод

Sets the PropertyStatuses parameter of an instance of the WebDavResource class.
public WithPropertyStatuses ( IReadOnlyCollection propertyStatuses ) : Builder
propertyStatuses IReadOnlyCollection
Результат Builder

WithUri() публичный Метод

Sets the Uri parameter of an instance of the WebDavResource class.
public WithUri ( string uri ) : Builder
uri string
Результат Builder