示例#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;
        }
示例#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);
		}
示例#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);
 }