internal SetFieldCollectionCommand(object @object, string collectionName) { ValidateArguments(@object, collectionName); _object = @object; _collectionName = collectionName; _fieldInfo = GetMemberQuery.GetFieldInfoFor(_object.GetType(), _collectionName); ValidateField(); }
internal SetFieldCommand(object destinationObject, string fieldName, object newValue) : base(destinationObject, fieldName, newValue) { _fieldInfo = GetMemberQuery.GetFieldInfoFor(destinationObject.GetType(), fieldName); ValidateField(); }