Show / Hide Table of Contents

Class WebDavXmlOutputFormatter

The default implementation of the IWebDavOutputFormatter interface

Inheritance
Object
WebDavXmlOutputFormatter
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Formatters
Assembly:FubarDev.WebDavServer.dll
Syntax
public class WebDavXmlOutputFormatter : IWebDavOutputFormatter

Constructors

| Improve this Doc View Source

WebDavXmlOutputFormatter(IOptions<WebDavFormatterOptions>, ILogger<WebDavXmlOutputFormatter>)

Initializes a new instance of the WebDavXmlOutputFormatter class.

Declaration
public WebDavXmlOutputFormatter([NotNull] IOptions<WebDavFormatterOptions> options, [NotNull] ILogger<WebDavXmlOutputFormatter> logger)
Parameters
Type Name Description
Microsoft.Extensions.Options.IOptions<WebDavFormatterOptions> options

The formatter options

Microsoft.Extensions.Logging.ILogger<WebDavXmlOutputFormatter> logger

The logger

Properties

| Improve this Doc View Source

ContentType

Gets the content type

Declaration
[NotNull]
public string ContentType { get; }
Property Value
Type Description
String
Implements
IWebDavOutputFormatter.ContentType
| Improve this Doc View Source

Encoding

Gets the encoding

Declaration
[NotNull]
public Encoding Encoding { get; }
Property Value
Type Description
Encoding
Implements
IWebDavOutputFormatter.Encoding

Methods

| Improve this Doc View Source

Serialize<T>(Stream, T)

Declaration
public void Serialize<T>(Stream output, T data)
Parameters
Type Name Description
Stream output
T data
Type Parameters
Name Description
T
Implements
IWebDavOutputFormatter.Serialize<T>(Stream, T)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX