static void Main(string[] args) { ThirdPartDll.MyFunc func = new ThirdPartDll.MyFunc(); func.Log("MyConsole.Program.Main:\tInvoke version 1 ThirdPartDll"); mysdk.Logger sdk = new mysdk.Logger(); sdk.Log("MyConsole.Program.Main:\tInvoke mysdk"); }
public Logger Log(string log) { ThirdPartDll.MyFunc func = new ThirdPartDll.MyFunc(); func.Log("mysdk.Logger.Log:\t" + log); return(this); }