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