public AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver(AUParameterRecordingObserver observer) { if (observer == null) throw new ArgumentNullException ("observer"); IntPtr observerToken = _TokenByAddingParameterRecordingObserver (observer); return new AUParameterObserverToken { ObserverToken = observerToken }; }
public AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver(AUParameterRecordingObserver observer) { if (observer == null) { throw new ArgumentNullException("observer"); } IntPtr observerToken = TokenByAddingParameterRecordingObserver(observer); return(new AUParameterObserverToken { ObserverToken = observerToken }); }