Class Command

Summary description for Command.

Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Blob.WebDavServer
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public abstract class Command

Constructors

Command(HttpRequest, HttpResponse)

Declaration
public Command(HttpRequest request, HttpResponse response)
Parameters
Type Name Description
System.Web.HttpRequest request
System.Web.HttpResponse response

Properties

Request

Declaration
protected HttpRequest Request { get; set; }
Property Value
Type Description
System.Web.HttpRequest

Response

Declaration
protected HttpResponse Response { get; set; }
Property Value
Type Description
System.Web.HttpResponse

Methods

AddHeader(String, String)

Declaration
protected void AddHeader(string name, string value)
Parameters
Type Name Description
System.String name
System.String value

GetValue(String)

Declaration
protected string GetValue(string s)
Parameters
Type Name Description
System.String s
Returns
Type Description
System.String

Run(Resource)

Declaration
public abstract void Run(Resource resource)
Parameters
Type Name Description
Resource resource

SetStatus(Int32, String)

Declaration
protected void SetStatus(int code, string description)
Parameters
Type Name Description
System.Int32 code
System.String description