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