示例#1
0
 public RuntimePseudo(int id, int numofp, string name, string pattern, string description = "")
 {
     this.description = description;
     this.id          = id;
     this.numOfP      = numofp;
     this.name        = name;
     this.pattern     = pattern;
     Pseudos.Add(this);
 }
示例#2
0
 public void SetPseudo(int propertyId)
 {
     if (Pseudos == null)
     {
         Pseudos = new IndexList();
     }
     if (!Pseudos.Contains(propertyId))
     {
         Pseudos.Add(propertyId);
     }
 }
示例#3
0
 public bool IsPseudo(int propertyId)
 {
     return(Pseudos != null && Pseudos.Contains(propertyId));
 }