protected HexQuickInfoPresenterBase(HexQuickInfoSession session) {
			if (session == null)
				throw new ArgumentNullException(nameof(session));
			this.session = session;
			control = new HexQuickInfoPresenterControl { DataContext = this };
			session.Dismissed += Session_Dismissed;
		}
예제 #2
0
 protected HexQuickInfoPresenterBase(HexQuickInfoSession session)
 {
     this.session = session ?? throw new ArgumentNullException(nameof(session));
     control      = new HexQuickInfoPresenterControl {
         DataContext = this
     };
     session.Dismissed += Session_Dismissed;
 }