private static IPropertyContext CreateGlobal() { var propertyContext = new PropertyContext(); propertyContext.Set("MachineName", Environment.MachineName); return(propertyContext); }
private static IPropertyContext CreateLocal() { var propertyContext = new PropertyContext(); propertyContext.Set("ThreadId", Thread.CurrentThread.ManagedThreadId); return(propertyContext); }