internal Layer(string id, LayerType type)
 {
     Id   = string.IsNullOrWhiteSpace(id) ? Guid.NewGuid().ToString() : id;
     Type = type;
     EventActivationFlags = LayerEventActivationFlags.None();
 }
 internal DataSourceLayer(string id, LayerType type, string dataSourceId) : base(id, type) => DataSourceId = dataSourceId;