C# Class WebDav.WebDavResource.Builder

Represents a builder of the WebDavResource class.
Afficher le fichier Open project: skazantsev/WebDavClient Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Build() public méthode

Builds a new instance of the WebDavResource class.
public Build ( ) : WebDavResource
Résultat WebDavResource

IsCollection() public méthode

Sets the IsCollection parameter of an instance of the WebDavResource class to true.
public IsCollection ( ) : Builder
Résultat Builder

IsHidden() public méthode

Sets the IsHidden parameter of an instance of the WebDavResource class to true.
public IsHidden ( ) : Builder
Résultat Builder

IsNotCollection() public méthode

Sets the IsCollection parameter of an instance of the WebDavResource class to false.
public IsNotCollection ( ) : Builder
Résultat Builder

IsNotHidden() public méthode

Sets the IsHidden parameter of an instance of the WebDavResource class to false.
public IsNotHidden ( ) : Builder
Résultat Builder

WithActiveLocks() public méthode

Sets the ActiveLocks parameter of an instance of the WebDavResource class.
public WithActiveLocks ( IReadOnlyCollection activeLocks ) : Builder
activeLocks IReadOnlyCollection
Résultat Builder

WithContentLanguage() public méthode

Sets the ContentLanguage parameter of an instance of the WebDavResource class.
public WithContentLanguage ( string contentLanguage ) : Builder
contentLanguage string
Résultat Builder

WithContentLength() public méthode

Sets the ContentLength parameter of an instance of the WebDavResource class.
public WithContentLength ( int contentLength ) : Builder
contentLength int
Résultat Builder

WithContentType() public méthode

Sets the ContentType parameter of an instance of the WebDavResource class.
public WithContentType ( string contentType ) : Builder
contentType string
Résultat Builder

WithCreationDate() public méthode

Sets the CreationDate parameter of an instance of the WebDavResource class.
public WithCreationDate ( System.DateTime creationDate ) : Builder
creationDate System.DateTime
Résultat Builder

WithDisplayName() public méthode

Sets the DisplayName parameter of an instance of the WebDavResource class.
public WithDisplayName ( string displayName ) : Builder
displayName string
Résultat Builder

WithETag() public méthode

Sets the ETag parameter of an instance of the WebDavResource class.
public WithETag ( string eTag ) : Builder
eTag string
Résultat Builder

WithLastModifiedDate() public méthode

Sets the LastModifiedDate parameter of an instance of the WebDavResource class.
public WithLastModifiedDate ( System.DateTime lastModifiedDate ) : Builder
lastModifiedDate System.DateTime
Résultat Builder

WithProperties() public méthode

Sets the Properties parameter of an instance of the WebDavResource class.
public WithProperties ( IReadOnlyCollection properties ) : Builder
properties IReadOnlyCollection
Résultat Builder

WithPropertyStatuses() public méthode

Sets the PropertyStatuses parameter of an instance of the WebDavResource class.
public WithPropertyStatuses ( IReadOnlyCollection propertyStatuses ) : Builder
propertyStatuses IReadOnlyCollection
Résultat Builder

WithUri() public méthode

Sets the Uri parameter of an instance of the WebDavResource class.
public WithUri ( string uri ) : Builder
uri string
Résultat Builder