AH
Size: a a a
AH
ДБ
VS
AH
SB
VS
[<AutoOpen>]
module Giraffe.Middleware
AH
[<AutoOpen>]
module Giraffe.Middleware
VS
VS
VS
VS
AH
AH
type IServiceCollection with
/// **Description**
///
/// Adds default Giraffe services to the ASP.NET Core service container.
///
/// The default services include features like `IJsonSerializer`, `IXmlSerializer`, `INegotiationConfig` or more. Please check the official Giraffe documentation for an up to date list of configurable services.
///
/// **Output**
///
/// Returns an `IServiceCollection` builder object.
///
member this.AddGiraffe() =
this.TryAddSingleton<IJsonSerializer>(NewtonsoftJsonSerializer(NewtonsoftJsonSerializer.DefaultSettings))
this.TryAddSingleton<IXmlSerializer>(DefaultXmlSerializer(DefaultXmlSerializer.DefaultSettings))
this.TryAddSingleton<INegotiationConfig, DefaultNegotiationConfig>()
this
VS
СТ
R
AH
СТ
AH
AH