PocoJsonSerializerStrategy Class

Assembly
Cake.Http.dll
Namespace
Cake.Http
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IJsonSerializerStrategy"] click Interface0 "/api/Cake.Http/IJsonSerializerStrategy" Type["PocoJsonSerializerStrategy"] class Type type-node Derived0["DataContractJsonSerializerStrategy"]-->Type click Derived0 "/api/Cake.Http/DataContractJsonSerializerStrategy"

Syntax

public class PocoJsonSerializerStrategy : IJsonSerializerStrategy

Attributes

Type Description
GeneratedCodeAttribute

Constructors

Methods

Extension Methods

Name Value Summary
Dump<PocoJsonSerializerStrategy>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PocoJsonSerializerStrategy>(PocoJsonSerializerStrategy[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PocoJsonSerializerStrategy>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<PocoJsonSerializerStrategy>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<PocoJsonSerializerStrategy>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<PocoJsonSerializerStrategy>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin