ServiceDocument Classe

Definição

Representa um documento de serviço.Represents a service document.

public ref class ServiceDocument
public class ServiceDocument
type ServiceDocument = class
Public Class ServiceDocument
Herança
ServiceDocument

Comentários

Um documento de serviço é um documento recuperado de um serviço que indica os recursos e locais das coleções disponíveis.A service document is a document retrieved from a service that indicates the capabilities and locations of the available collections. Um documento de serviço pode conter um ou mais espaços de trabalho.A service document may contain one or more workspaces. Cada espaço de trabalho pode conter uma ou mais coleções.Each workspace may contain one or more collections.

Construtores

ServiceDocument()

Cria uma nova instância da classe ServiceDocument.Creates a new instance of the ServiceDocument class.

ServiceDocument(IEnumerable<Workspace>)

Cria uma nova instância da classe ServiceDocument, inicializando-a com a coleção de instâncias de Workspace especificada.Creates a new instance of the ServiceDocument class, initializing it with the specified collection of Workspace instances.

Propriedades

AttributeExtensions

Obtém uma coleção de extensões de atributo.Gets a collection of attribute extensions.

BaseUri

Obtém ou define o URI base da instância de ServiceDocument.Gets or sets the base URI for the ServiceDocument instance.

ElementExtensions

Obtém as extensões de elemento do documento de serviço.Gets the element extensions for the service document.

Language

Obtém ou define o idioma do documento de serviço.Gets or sets the language of the service document.

Workspaces

Obtém uma coleção de workspaces contidos dentro do documento de serviço.Gets a collection of workspaces contained within the service document.

Métodos

CreateWorkspace()

Cria uma nova instância Workspace.Creates a new Workspace instance.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetFormatter()

Obtém uma instância de AtomPub10ServiceDocumentFormatter.Gets a AtomPub10ServiceDocumentFormatter instance.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
Load(XmlReader)

Carrega um documento de serviço do XmlReader especificado em uma instância de ServiceDocument.Loads a service document from the specified XmlReader into a ServiceDocument instance.

Load<TServiceDocument>(XmlReader)

Carrega um documento de serviço do XmlReader especificado em uma instância derivada de ServiceDocument.Loads a service document from the specified XmlReader into a ServiceDocument derived instance.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
Save(XmlWriter)

Salva a instância de ServiceDocument no XmlReader especificado.Saves the ServiceDocument instance to the specified XmlReader.

ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)
TryParseAttribute(String, String, String, String)

Tenta analisar uma extensão de atributo.Attempts to parse an attribute extension.

TryParseElement(XmlReader, String)

Tenta analisar uma extensão de elemento.Attempts to parse an element extension.

WriteAttributeExtensions(XmlWriter, String)

Grava as extensões de atributo no XmlWriter especificado usando a versão de sindicalização especificada.Writes the attribute extensions to the specified XmlWriter using the specified syndication version.

WriteElementExtensions(XmlWriter, String)

Grava as extensões de elemento no XmlWriter especificado usando a versão de sindicalização especificada.Writes the element extensions to the specified XmlWriter using the specified syndication version.

Aplica-se a