Пример #1
0
		public CommandTargetFilter(HexView hexView, HexCommandOperations hexCommandOperations) {
			if (hexView == null)
				throw new ArgumentNullException(nameof(hexView));
			if (hexCommandOperations == null)
				throw new ArgumentNullException(nameof(hexCommandOperations));
			this.hexView = hexView;
			this.hexCommandOperations = hexCommandOperations;
		}
Пример #2
0
 public CommandTargetFilter(HexView hexView, HexCommandOperations hexCommandOperations)
 {
     if (hexView == null)
     {
         throw new ArgumentNullException(nameof(hexView));
     }
     if (hexCommandOperations == null)
     {
         throw new ArgumentNullException(nameof(hexCommandOperations));
     }
     this.hexView = hexView;
     this.hexCommandOperations = hexCommandOperations;
 }
Пример #3
0
 internal static void RemoveFromProperties(HexCommandOperations hexCommandOperations) =>
 hexCommandOperations.HexView.Properties.RemoveProperty(typeof(HexCommandOperations));
		internal static void RemoveFromProperties(HexCommandOperations hexCommandOperations) =>
			hexCommandOperations.HexView.Properties.RemoveProperty(typeof(HexCommandOperations));