示例#1
0
        public AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver(AUParameterRecordingObserver observer)
        {
            if (observer == null)
                throw new ArgumentNullException ("observer");

            IntPtr observerToken = _TokenByAddingParameterRecordingObserver (observer);

            return new AUParameterObserverToken {
                ObserverToken = observerToken
            };
        }
示例#2
0
        public AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver(AUParameterRecordingObserver observer)
        {
            if (observer == null)
            {
                throw new ArgumentNullException("observer");
            }

            IntPtr observerToken = TokenByAddingParameterRecordingObserver(observer);

            return(new AUParameterObserverToken {
                ObserverToken = observerToken
            });
        }