Exemplo n.º 1
0
 private static void SetFabricCodePathHelper(string codePath, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetCodePath(pin.AddBlittable(codePath));
         }
         else
         {
             NativeCommon.FabricSetCodePath2(pin.AddBlittable(codePath), pin.AddBlittable(machineName));
         }
     }
 }