Search Results for

    Show / Hide Table of Contents

    Class ArcGISContext

    Inheritance
    object
    JsonSerializerContext
    ArcGISContext
    Implements
    IJsonTypeInfoResolver
    Inherited Members
    JsonSerializerContext.Options
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.ArcGIS
    Assembly: Mapsui.ArcGIS.dll
    Syntax
    [JsonSourceGenerationOptions(PropertyNameCaseInsensitive = true, UnmappedMemberHandling = JsonUnmappedMemberHandling.Skip, NumberHandling = JsonNumberHandling.AllowReadingFromString|JsonNumberHandling.AllowNamedFloatingPointLiterals, ReadCommentHandling = JsonCommentHandling.Skip, AllowTrailingCommas = true)]
    [JsonSerializable(typeof(ArcGISFeatureInfo))]
    [JsonSerializable(typeof(ArcGISLegendResponse))]
    [JsonSerializable(typeof(ArcGISDynamicCapabilities))]
    [JsonSerializable(typeof(ArcGISImageCapabilities))]
    public class ArcGISContext : JsonSerializerContext, IJsonTypeInfoResolver

    Constructors

    ArcGISContext()

    Declaration
    public ArcGISContext()

    ArcGISContext(JsonSerializerOptions)

    Creates an instance of JsonSerializerContext and binds it with the indicated JsonSerializerOptions.

    Declaration
    public ArcGISContext(JsonSerializerOptions options)
    Parameters
    Type Name Description
    JsonSerializerOptions options

    The run time provided options for the context instance.

    Properties

    ArcGISDynamicCapabilities

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISDynamicCapabilities> ArcGISDynamicCapabilities { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISDynamicCapabilities>

    ArcGISFeatureInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISFeatureInfo> ArcGISFeatureInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISFeatureInfo>

    ArcGISImageCapabilities

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISImageCapabilities> ArcGISImageCapabilities { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISImageCapabilities>

    ArcGISLayer

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLayer> ArcGISLayer { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLayer>

    ArcGISLayerArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLayer[]> ArcGISLayerArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLayer[]>

    ArcGISLegendResponse

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLegendResponse> ArcGISLegendResponse { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLegendResponse>

    ArcGISLegendResponseLayer

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLegendResponseLayer> ArcGISLegendResponseLayer { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLegendResponseLayer>

    ArcGISLegendResponseLayerArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLegendResponseLayer[]> ArcGISLegendResponseLayerArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLegendResponseLayer[]>

    ArcGISLegendResponseLegend

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLegendResponseLegend> ArcGISLegendResponseLegend { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLegendResponseLegend>

    ArcGISLegendResponseLegendArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<ArcGISLegendResponseLegend[]> ArcGISLegendResponseLegendArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<ArcGISLegendResponseLegend[]>

    Boolean

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<bool> Boolean { get; }
    Property Value
    Type Description
    JsonTypeInfo<bool>

    DateTime

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<DateTime> DateTime { get; }
    Property Value
    Type Description
    JsonTypeInfo<DateTime>

    Default

    The default JsonSerializerContext associated with a default JsonSerializerOptions instance.

    Declaration
    public static ArcGISContext Default { get; }
    Property Value
    Type Description
    ArcGISContext

    DictionaryStringString

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Dictionary<string, string>> DictionaryStringString { get; }
    Property Value
    Type Description
    JsonTypeInfo<Dictionary<string, string>>

    Domain

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Domain> Domain { get; }
    Property Value
    Type Description
    JsonTypeInfo<Domain>

    Double

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<double> Double { get; }
    Property Value
    Type Description
    JsonTypeInfo<double>

    DoubleArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<double[]> DoubleArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<double[]>

    EditFieldsInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<EditFieldsInfo> EditFieldsInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<EditFieldsInfo>

    Extent

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Extent> Extent { get; }
    Property Value
    Type Description
    JsonTypeInfo<Extent>

    Field

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Field> Field { get; }
    Property Value
    Type Description
    JsonTypeInfo<Field>

    FieldArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Field[]> FieldArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<Field[]>

    GeneratedSerializerOptions

    The source-generated options associated with this context.

    Declaration
    protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }
    Property Value
    Type Description
    JsonSerializerOptions
    Overrides
    JsonSerializerContext.GeneratedSerializerOptions

    IDictionaryStringString

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<IDictionary<string, string>> IDictionaryStringString { get; }
    Property Value
    Type Description
    JsonTypeInfo<IDictionary<string, string>>

    Int32

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<int> Int32 { get; }
    Property Value
    Type Description
    JsonTypeInfo<int>

    Int32Array

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<int[]> Int32Array { get; }
    Property Value
    Type Description
    JsonTypeInfo<int[]>

    Int64

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<long> Int64 { get; }
    Property Value
    Type Description
    JsonTypeInfo<long>

    Int64Array

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<long[]> Int64Array { get; }
    Property Value
    Type Description
    JsonTypeInfo<long[]>

    InterpolationType

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<InterpolationType> InterpolationType { get; }
    Property Value
    Type Description
    JsonTypeInfo<InterpolationType>

    Lod

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TileInfo.Lod> Lod { get; }
    Property Value
    Type Description
    JsonTypeInfo<TileInfo.Lod>

    LodArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TileInfo.Lod[]> LodArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<TileInfo.Lod[]>

    NullableDateTime

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<DateTime?> NullableDateTime { get; }
    Property Value
    Type Description
    JsonTypeInfo<DateTime?>

    NullableDouble

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<double?> NullableDouble { get; }
    Property Value
    Type Description
    JsonTypeInfo<double?>

    Origin

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TileInfo.Origin> Origin { get; }
    Property Value
    Type Description
    JsonTypeInfo<TileInfo.Origin>

    OwnershipBasedAccessControlForRasters

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<OwnershipBasedAccessControlForRasters> OwnershipBasedAccessControlForRasters { get; }
    Property Value
    Type Description
    JsonTypeInfo<OwnershipBasedAccessControlForRasters>

    RasterFunctionInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<RasterFunctionInfo> RasterFunctionInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<RasterFunctionInfo>

    RasterFunctionInfoArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<RasterFunctionInfo[]> RasterFunctionInfoArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<RasterFunctionInfo[]>

    RasterTypeInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<RasterTypeInfo> RasterTypeInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<RasterTypeInfo>

    RasterTypeInfoArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<RasterTypeInfo[]> RasterTypeInfoArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<RasterTypeInfo[]>

    Result

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Result> Result { get; }
    Property Value
    Type Description
    JsonTypeInfo<Result>

    ResultArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Result[]> ResultArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<Result[]>

    SpatialReference

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<SpatialReference> SpatialReference { get; }
    Property Value
    Type Description
    JsonTypeInfo<SpatialReference>

    String

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<string> String { get; }
    Property Value
    Type Description
    JsonTypeInfo<string>

    Table

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Table> Table { get; }
    Property Value
    Type Description
    JsonTypeInfo<Table>

    TableArray

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<Table[]> TableArray { get; }
    Property Value
    Type Description
    JsonTypeInfo<Table[]>

    TileInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TileInfo> TileInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<TileInfo>

    TimeInfo

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TimeInfo> TimeInfo { get; }
    Property Value
    Type Description
    JsonTypeInfo<TimeInfo>

    TimeReference

    Defines the source generated JSON serialization contract metadata for a given type.

    Declaration
    public JsonTypeInfo<TimeReference> TimeReference { get; }
    Property Value
    Type Description
    JsonTypeInfo<TimeReference>

    Methods

    GetTypeInfo(Type)

    Gets metadata for the specified type.

    Declaration
    public override JsonTypeInfo? GetTypeInfo(Type type)
    Parameters
    Type Name Description
    Type type

    The type to fetch metadata for.

    Returns
    Type Description
    JsonTypeInfo

    The metadata for the specified type, or null if the context has no metadata for the type.

    Overrides
    JsonSerializerContext.GetTypeInfo(Type)

    Implements

    IJsonTypeInfoResolver

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    In this article
    Back to top Generated by DocFX