Ejemplo n.º 1
0
 public static ShadowCopyKey CreateResourceKey(string assemblyName, string fullPath)
 {
     return(new ShadowCopyKey("<r" + ShadowCopyKey.GetPrefix(fullPath) + ">" + assemblyName));
 }
Ejemplo n.º 2
0
 public static ShadowCopyKey CreateBinaryKey(string assemblyName, string fullPath, bool isNativeModule = false)
 {
     return(new ShadowCopyKey(string.Format((IFormatProvider)CultureInfo.InvariantCulture, "<{1}b{0}>{2}", (object)ShadowCopyKey.GetPrefix(fullPath), isNativeModule ? (object)"n" : (object)string.Empty, (object)assemblyName)));
 }