示例#1
0
        private async void Manager_CoverParentRemoving(object sender, ICoverParent e)
        {
            var id = e.CoverId;

            if (id != null)
            {
                Debug.WriteLine($"remove cover [{id}] from {e.GetType().Name}[ {e.Id}] over {sender.GetType().Name}");
                await this.RemoveAsync(id);
            }
        }
示例#2
0
 public CoverParentRef(ICoverParent obj)
 {
     this.Id = obj.Id;
     this.Type = obj.GetType().Name;
 }
示例#3
0
 public CoverParentRef(ICoverParent obj)
 {
     this.Id   = obj.Id;
     this.Type = obj.GetType().Name;
 }