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)); }
protected AChannel(AService service, ChannelType channelType) { this.Id = IdGenerater.GenerateId(); this.ChannelType = channelType; this.Service = service; }