Example #1
0
 private static void SetResourceType(ComputerResource resource)
 {
     if (resource == null)
     {
         LogicalCallContext.FreeData(nameof(ComputerResource));
     }
     else
     {
         LogicalCallContext.SetData(nameof(ComputerResource), resource);
     }
 }
Example #2
0
 private static void SetFileName(string fileName)
 {
     LogicalCallContext.SetData(nameof(LoggerFileScope), fileName);
 }
Example #3
0
 private void SetPhaseName(string phaseName)
 {
     LogicalCallContext.SetData(nameof(LoggerPhaseScope), phaseName);
 }
Example #4
0
 private static void SetCurrentContextRaw(object[] raw)
 {
     LogicalCallContext.SetData(AMBCTX_NAME, raw);
 }