Ejemplo n.º 1
0
 private void OpenMarker(MarkerType type, int position)
 {
     if (IsMarkerOpened(type))
         throw new Exception("Trying to open opened marker");
     openedMarkers[type] = new Marker(position, -1, type);
 }
Ejemplo n.º 2
0
 public bool Equals(Marker other)
 {
     return l == other.l && r == other.r && type.Equals(other.type);
 }