public bool Equals(ExportOption p) { // If parameter is null return false: if (p == null) { return(false); } // Return true if the fields match: return((ExportType == p.ExportType) && (MapType == p.MapType) && (ShowDescription == p.ShowDescription) && (ShowPages == p.ShowPages) && (ShowImage == p.ShowImage) && (ShowVideo == p.ShowVideo) && (SelectedNodes.ToJson() == p.SelectedNodes.ToJson())); }
public bool Equals(ExportOption p) { // If parameter is null return false: if (p == null) { return false; } // Return true if the fields match: return ((ExportType == p.ExportType) && (MapType == p.MapType) && (ShowDescription == p.ShowDescription) && (ShowPages == p.ShowPages) && (ShowImage == p.ShowImage) && (ShowVideo == p.ShowVideo) && (SelectedNodes.ToJson() == p.SelectedNodes.ToJson())); }
public ExportOptionDialog(ExportType exporyType, MapType mapType) { InitializeComponent(); DataContext = new ExportOption(exporyType, mapType); }