Example #1
0
 /// <summary>
 /// Constructs a new axis.
 /// </summary>
 /// <param name="name">The name of the axis.</param>
 /// <param name="ogcOrientationType">The direction of the axis.</param>
 public OgcAxis(string name, OgcOrientationType ogcOrientationType)
 {
     Name = name ?? String.Empty;
     OgcOrientationType = ogcOrientationType;
 }
Example #2
0
 public void Write(OgcOrientationType orientation)
 {
     _writer.Write(Options.ToStringRepresentation(orientation));
 }
Example #3
0
 /// <summary>
 /// Constructs a new axis.
 /// </summary>
 /// <param name="name">The name of the axis.</param>
 /// <param name="ogcOrientationType">The direction of the axis.</param>
 public OgcAxis(string name, OgcOrientationType ogcOrientationType)
 {
     Name = name ?? String.Empty;
     OgcOrientationType = ogcOrientationType;
 }
Example #4
0
 public virtual string ToStringRepresentation(OgcOrientationType orientationType)
 {
     Contract.Ensures(!String.IsNullOrEmpty(Contract.Result <string>()));
     Contract.Assume(!String.IsNullOrEmpty(orientationType.ToString().ToUpperInvariant()));
     return(orientationType.ToString().ToUpperInvariant());
 }