コード例 #1
0
 private void NatashaReferenceDomain_LoadAssemblyReferenceWithStream(Assembly assembly, System.IO.Stream stream)
 {
     References.AddReference(assembly.GetName(), stream);
     if (Name == "Default")
     {
         DefaultUsing.AddUsing(assembly);
     }
     UsingRecorder.Using(assembly);
 }
コード例 #2
0
 private void NatashaReferenceDomain_LoadAssemblyReferencsWithPath(Assembly assembly, string path)
 {
     References.AddReference(assembly.GetName(), path);
     if (Name == "Default")
     {
         DefaultUsing.AddUsing(assembly);
     }
     UsingRecorder.Using(assembly);
 }
コード例 #3
0
 public static void AddDefaultReferenceAndUsing(AssemblyName assemblyName, string path)
 {
     DefaultDomain.References.AddReference(assemblyName, path);
     DefaultUsing.AddUsing(assemblyName);
 }