Ejemplo n.º 1
0
		public HexCommandOperationsImpl(IMessageBoxService messageBoxService, HexEditorGroupFactoryService hexEditorGroupFactoryService, HexView hexView) {
			if (messageBoxService == null)
				throw new ArgumentNullException(nameof(messageBoxService));
			if (hexEditorGroupFactoryService == null)
				throw new ArgumentNullException(nameof(hexEditorGroupFactoryService));
			if (hexView == null)
				throw new ArgumentNullException(nameof(hexView));
			this.messageBoxService = messageBoxService;
			this.hexEditorGroupFactoryService = hexEditorGroupFactoryService;
			HexView = hexView;
			hexView.Closed += HexView_Closed;
		}
Ejemplo n.º 2
0
		public HexViewDocumentTabUIContext(HexEditorGroupFactoryService hexEditorGroupFactoryService, HexBuffer buffer) {
			hexViewHost = hexEditorGroupFactoryService.Create(buffer, PredefinedHexViewRoles.HexEditorGroup, PredefinedHexViewRoles.HexEditorGroupDefault, new Guid(MenuConstants.GUIDOBJ_ASMEDITOR_HEXVIEW_GUID));
		}
		HexCommandOperationsFactoryServiceImpl(IMessageBoxService messageBoxService, HexEditorGroupFactoryService hexEditorGroupFactoryService) {
			this.messageBoxService = messageBoxService;
			this.hexEditorGroupFactoryService = hexEditorGroupFactoryService;
		}