示例#1
0
    public void CopyFrom (TRequestData alias)
    {
      Clean ();

      if (alias != null) {
        What = alias.What;
      }
    }
示例#2
0
 void Clean ()
 {
   What = TWhat.None;
 } 
示例#3
0
 public bool IsRequest (TWhat what)
 {
   return (What.Equals (what));
 }
示例#4
0
 public bool IsWhat (TWhat what)
 {
   return (What.Equals (what));
 }
示例#5
0
 public void Select (TWhat what)
 {
   What = what;
 }
示例#6
0
 public TRequestData (TWhat what)
   : this ()
 {
   What = what;
 }