Пример #1
0
 private static void ReplaceHelper(string sourceFileName, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)
 {
     using (var pin = new PinCollection())
     {
         NativeCommon.FabricFileReplace(
             pin.AddBlittable(destinationFileName),
             pin.AddBlittable(sourceFileName),
             pin.AddBlittable(destinationBackupFileName),
             NativeTypes.ToBOOLEAN(ignoreMetadataErrors));
     }
 }