Ejemplo n.º 1
0
        public static async ETTask <Scene> Create(Entity parent, string name, SceneType sceneType)
        {
            long id = IdGenerater.GenerateId();

            return(await Create(parent, id, parent.DomainZone(), name, sceneType));
        }
Ejemplo n.º 2
0
 protected AChannel(AService service, ChannelType channelType)
 {
     this.Id          = IdGenerater.GenerateId();
     this.ChannelType = channelType;
     this.Service     = service;
 }