You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Defines the GeoJSON Coordinate Reference System Objects (CRS) types as defined in the <see cref="http://geojson.org/geojson-spec.html#coordinate-reference-system-objects">geojson.org v1.0 spec</see>.
/// Defines the GeoJSON Coordinate Reference System Objects (CRS) types as defined in the <see cref="http://geojson.org/geojson-spec.html#coordinate-reference-system-objects">geojson.org v1.0 spec</see>.
16
+
/// </summary>
17
+
[Flags]
18
+
publicenumCRSType
19
+
{
20
+
/// <summary>
21
+
/// Defines the <see cref="http://geojson.org/geojson-spec.html#named-crs">Named</see> CRS type.
22
+
/// </summary>
23
+
Name,
24
+
25
+
/// <summary>
26
+
/// Defines the <see cref="http://geojson.org/geojson-spec.html#linked-crs">Linked</see> CRS type.
/// Defines the <see cref="http://geojson.org/geojson-spec.html#linked-crs">Linked CRS type</see>.
17
+
/// </summary>
18
+
publicclassLinkedCRS:CRSBase
19
+
{
20
+
/// <summary>
21
+
/// Initializes a new instance of the <see cref="LinkedCRS"/> class.
22
+
/// </summary>
23
+
/// <param name="href">The mandatory <see cref="http://geojson.org/geojson-spec.html#linked-crs">href</see> member must be a dereferenceable URI.</param>
24
+
/// <param name="type">The optional type member will be put in the properties Dictionary as specified in the <see cref="http://geojson.org/geojson-spec.html#linked-crs">GeoJSON spec</see>.</param>
25
+
publicLinkedCRS(stringhref,stringtype="")
26
+
{
27
+
if(href==null)
28
+
{
29
+
thrownewArgumentNullException("href");
30
+
}
31
+
32
+
if(string.IsNullOrWhiteSpace(href))
33
+
{
34
+
thrownewArgumentOutOfRangeException("href","May not be empty");
/// Initializes a new instance of the <see cref="LinkedCRS"/> class.
49
+
/// </summary>
50
+
/// <param name="href">The mandatory <see cref="http://geojson.org/geojson-spec.html#linked-crs">href</see> member must be a dereferenceable URI.</param>
51
+
/// <param name="type">The optional type member will be put in the properties Dictionary as specified in the <see cref="http://geojson.org/geojson-spec.html#linked-crs">GeoJSON spec</see>.</param>
0 commit comments