Beispiel #1
0
 public void FaultAssemblyInfo(CompositionManager.MefControlCacheAssemblyInfo info)
 {
     // Change one of the assemblies' paths
     info.Location = typeof(LocationCachingFaultInjector).Assembly.Location;
 }
Beispiel #2
0
 public void FaultAssemblyInfo(CompositionManager.MefControlCacheAssemblyInfo info)
 {
     info.LastWriteTimeUtc = info.LastWriteTimeUtc.Add(TimeSpan.FromSeconds(1));
 }
Beispiel #3
0
 public void FaultAssemblyInfo(CompositionManager.MefControlCacheAssemblyInfo info)
 {
 }
 public void FaultAssemblyInfo(CompositionManager.MefControlCacheAssemblyInfo info)
 {
     // Change one of the assemblies' mvid
     info.ModuleVersionId = Guid.NewGuid();
 }
Beispiel #5
0
 public void FaultAssemblyInfo(CompositionManager.MefControlCacheAssemblyInfo info)
 {
     info.LastWriteTimeUtc = DateTime.UtcNow;
 }