Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Atomically sets the complete current state of one diagnostic group owned by the calling type.

API: engine
Project: Inno.Core.Diagnostics

public static void Inno.Core.Diagnostics.Diagnostics.Set(string group, System.Collections.Generic.IEnumerable<Inno.Core.Diagnostics.Diagnostic> diagnostics)

Parameter group: The non-empty responsibility name scoped to the calling type.

Parameter diagnostics: The complete current diagnostic collection. An empty collection clears the group.

Exception T:System.ArgumentException: Thrown when group is empty or the collection contains a null entry.

Exception T:System.ArgumentNullException: Thrown when diagnostics is null.