C# Class SenseNet.Services.WebDav.Put

Inheritance: IHttpMethod
ファイルを表示 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
HandleMethod ( ) : void
Put ( WebDavHandler handler ) : System

Private Methods

Method Description
CreateFile ( string parentPath, string fileName, Node parentNode ) : void
GetContentTypeName ( string fileName ) : string

Determine content type from file extension

HandleContent ( string parentPath, string fileName, Node parentNode, Node node ) : void
HandleFile ( string parentPath, string fileName, Node parentNode, Node node ) : void
InstallContentType ( ) : void
SetBinaryAttachment ( Node existingNode, string binaryName ) : bool

Checks an existing node whether it has a binary property with matching name and sets the binary value if needed

SetBinaryStream ( Node node, Stream fileStream ) : void
SetBinaryStream ( Node node, Stream fileStream, string propertyName ) : void
SetBinaryStream ( Node node, Stream fileStream, string propertyName, string binaryName ) : void
UpdateFile ( Node file ) : void

Method Details

HandleMethod() public method

public HandleMethod ( ) : void
return void

Put() public method

public Put ( WebDavHandler handler ) : System
handler WebDavHandler
return System