/// <summary> /// Construct a KhronosLogEventArgs. /// </summary> /// <param name="logContext"> /// A <see cref="KhronosLogContext"/> holding information about the API logged. /// </param> /// <param name="name"> /// A <see cref="String"/> that specifies the name of the command. /// </param> /// <param name="args"> /// An array of objects that specifies the arguments of the <paramref name="name"/> command. /// </param> /// <param name="retvalue"> /// The <see cref="Object"/> returned by the function. /// </param> internal KhronosLogEventArgs(KhronosLogContext logContext, string name, object[] args, object retvalue) { if (name == null) { throw new ArgumentNullException("name"); } Name = name; Args = args; ReturnValue = retvalue; _LogContext = logContext; }