Table of Contents

Class CoordinatesAttribute

Namespace
XENBIT.ResQueServe.Abstractions.Attributes
Assembly
RQS.Abstractions.dll

Custom attribute for defining geographic coordinates.

[AttributeUsage(AttributeTargets.Field)]
public sealed class CoordinatesAttribute : Attribute
Inheritance
CoordinatesAttribute
Inherited Members

Constructors

CoordinatesAttribute(double, double)

Initializes a new instance of the CoordinatesAttribute class.

public CoordinatesAttribute(double latitude, double longitude)

Parameters

latitude double

The latitude of the country's center.

longitude double

The longitude of the country's center.

Properties

CenterCoordinates

Gets the center coordinates for the specified country.

public Coordinates CenterCoordinates { get; }

Property Value

Coordinates