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
latitudedoubleThe latitude of the country's center.
longitudedoubleThe longitude of the country's center.
Properties
CenterCoordinates
Gets the center coordinates for the specified country.
public Coordinates CenterCoordinates { get; }