コード例 #1
0
        public Task WriteLine(string message)
        {
            //Dispatch message on browser
            Console.WriteLine(message);

            //Dispatch message on native
            return(MethodDispatcher.CallVoidMethodAsync(MethodBase.GetCurrentMethod(), message));
        }
コード例 #2
0
 public Task StartupMetadataForElectron(string baseURL, string userDataFolder)
 {
     return(MethodDispatcher.CallVoidMethodAsync(MethodBase.GetCurrentMethod(), baseURL, userDataFolder));
 }