Skip to content

Instantly share code, notes, and snippets.

@chrisnas
Created February 21, 2019 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisnas/7ba3aebe381a89fc49c767dd48c6ebc8 to your computer and use it in GitHub Desktop.
Save chrisnas/7ba3aebe381a89fc49c767dd48c6ebc8 to your computer and use it in GitHub Desktop.
public ETWTraceEventSource Source
{
get
{
if (m_source == null)
{
... // long code
m_source = new ETWTraceEventSource(SessionName, TraceEventSourceType.Session);
}
return m_source;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment