Esempio n. 1
0
 public AdminModifyField(StandardHeldPrompt previous, Client client, IModifiable target, ModifiableParser parser) : base(previous, null, client)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     if (parser == null)
     {
         throw new ArgumentNullException("parser");
     }
     objectToModify = target;
     fieldParser    = parser;
 }
Esempio n. 2
0
 public AdminModifyInput(StandardHeldPrompt calledBy, Client user, IModifiable modifiedObject, ModifiableParser parser) : base(calledBy, null, user)
 {
     objectToModify = modifiedObject;
     fieldParser    = parser;
 }