C# Класс Elastacloud.AzureManagement.Fluent.Commands.Parsers.BaseParser

Base class used to parse all XML responses from the fabric
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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