public void CopyFrom(IEntityFilter from)
 {
     if (from == null)
     {
         return;
     }
     this.vaild = from.IsVaild();
     this.allowedEntityList.Clear();
     foreach (var a in from.GetAllowedEntityList())
     {
         this.allowedEntityList.Add(a);
     }
     this.forbiddenSpFilterList.Clear();
     foreach (var a in from.GetforbiddenSpFilterList())
     {
         this.forbiddenSpFilterList.Add(a);
     }
 }