Skip to content

Commit 5d721fa

Browse files
committed
Good working copy.
1 parent 6a588f8 commit 5d721fa

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

mysql_managed_interface/MySQLHostManager.cs

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static void ADIDelegate(string[] args)
2121

2222
void CurrentDomain_AssemblyLoad(object sender, AssemblyLoadEventArgs args)
2323
{
24-
24+
2525
throw new NotImplementedException();
2626
}
2727

@@ -51,21 +51,10 @@ public static StrongName CreateStrongName(Assembly assembly)
5151
/// </summary>
5252
public override void InitializeNewDomain(AppDomainSetup appDomainInfo)
5353
{
54-
if (appDomainInfo != null)
55-
{
56-
if (appDomainInfo.AppDomainInitializerArguments.Length > 0)
57-
{
58-
m_Assembly = appDomainInfo.AppDomainInitializerArguments[0];
59-
}
60-
if (appDomainInfo.AppDomainInitializerArguments.Length > 1)
61-
{
62-
m_Class = appDomainInfo.AppDomainInitializerArguments[1];
63-
}
64-
}
6554
// let the unmanaged host know about us
6655
InitializationFlags = AppDomainManagerInitializationOptions.RegisterWithHost;
67-
68-
56+
57+
6958
}
7059

7160
public string CreateAppDomain(string name)

0 commit comments

Comments
 (0)