Example #1
0
        /// <summary>
        /// Register a callback used to notify the application about a procedure log.
        /// </summary>
        /// <param name="callback">
        /// The <see cref="ProcedureLogDelegate"/> used to notify application about a procedure log event.
        /// </param>
        public static void RegisterApplicationLogDelegate(ProcedureLogDelegate callback)
        {
            _ProcLogCallbacks.Add(callback);

            // Automatically query information
            _ProcLogEnabled = _ProcLogCallbacks.Count == 1;
        }
Example #2
0
		/// <summary>
		/// Register a callback used to notify the application about a procedure log.
		/// </summary>
		/// <param name="callback">
		/// The <see cref="ProcedureLogDelegate"/> used to notify application about a procedure log event.
		/// </param>
		public static void RegisterApplicationLogDelegate(ProcedureLogDelegate callback)
		{
			_ProcLogCallbacks.Add(callback);
		}
Example #3
0
 /// <summary>
 /// Register a callback used to notify the application about a procedure log.
 /// </summary>
 /// <param name="callback">
 /// The <see cref="ProcedureLogDelegate"/> used to notify application about a procedure log event.
 /// </param>
 public static void RegisterApplicationLogDelegate(ProcedureLogDelegate callback)
 {
     _ProcLogCallbacks.Add(callback);
 }