Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="marker">HtmlMarker to update.</param>
 /// <param name="options">Options to update the HtmlMarker with</param>
 public HtmlMarkerUpdate(HtmlMarker marker, HtmlMarkerOptions options)
 {
     if (!Guid.TryParse(marker?.Id, out _))
     {
         throw new ArgumentException("Please provide a marker which has already been added to the map");
     }
     Marker  = marker;
     Options = options;
 }
 internal HtmlMarkerEventArgs(Map map, string type, HtmlMarker htmlMarker) : base(map, type) => HtmlMarker = htmlMarker;