示例#1
0
        public Task Async_Spawn(PID pid, IConfigSectionNode args, Type type = null)
        {
            var guid = args.AttrByName(CONFIG_TYPE_GUID_ATTR).ValueAsGUID(Guid.Empty);

            if (type == null && guid != Guid.Empty)
            {
                type = ProcessTypeResolver.Resolve(guid);
            }
            return(Async_Spawn(Process.MakeNew(App, type, pid, args)));
        }
示例#2
0
 public Task Async_Spawn(PID pid, IConfigSectionNode args, Guid type)
 {
     return(Async_Spawn(pid, args, ProcessTypeResolver.Resolve(type)));
 }
示例#3
0
 public void Spawn(PID pid, IConfigSectionNode args, Guid type)
 {
     Spawn(pid, args, ProcessTypeResolver.Resolve(type));
 }