C# 클래스 Elastacloud.AzureManagement.Fluent.Commands.Parsers.BaseParser

Base class used to parse all XML responses from the fabric
파일 보기 프로젝트 열기: azurecoder/fluent-management 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Document System.Xml.Linq.XDocument

Private Properties

프로퍼티 타입 설명
BaseParser System
Parse void

공개 메소드들

메소드 설명
GetInstance ( HttpWebResponse response, string rootVerb, BaseParser parser = null ) : BaseParser

Gets an instance of the BaseParser type to use and parse response - implementation of CoR pattern

보호된 메소드들

메소드 설명
GetSchema ( ) : System.Xml.Linq.XNamespace

Overriden in derived classes with the schema value of the operation and response

비공개 메소드들

메소드 설명
BaseParser ( System.Xml.Linq.XDocument response ) : System

To construct the BaseParser

Parse ( ) : void

Must implement in a derived class since this needs Xml specific parse code

메소드 상세

GetInstance() 공개 정적인 메소드

Gets an instance of the BaseParser type to use and parse response - implementation of CoR pattern
public static GetInstance ( HttpWebResponse response, string rootVerb, BaseParser parser = null ) : BaseParser
response System.Net.HttpWebResponse
rootVerb string
parser BaseParser
리턴 BaseParser

GetSchema() 보호된 추상적인 메소드

Overriden in derived classes with the schema value of the operation and response
protected abstract GetSchema ( ) : System.Xml.Linq.XNamespace
리턴 System.Xml.Linq.XNamespace

프로퍼티 상세

Document 보호되어 있는 프로퍼티

The Xml document returned and being parsed
protected XDocument,System.Xml.Linq Document
리턴 System.Xml.Linq.XDocument