mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* DynamicValidator.cs: initial implementation * DynamicDataManager.cs: implemented OnLoad. Better implementation of RegisterControl * DynamicDataExtensions.cs: implemented FindDataSourceControl. 2009-10-02 Marek Habersack <[email protected]> * DynamicValidatorTest.cs: added. 2009-10-02 Marek Habersack <[email protected]> * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey and IPersistedSelector.DataKey. * BaseDataBoundControl.cs: slight optimizations to FindDataSource svn path=/trunk/mcs/; revision=143278
34 lines
567 B
C#
34 lines
567 B
C#
using System;
|
|
using System.Web.DynamicData;
|
|
|
|
namespace MonoTests.Common
|
|
{
|
|
public class PokerDynamicValidator : DynamicValidator
|
|
{
|
|
public Exception GetValidationException ()
|
|
{
|
|
return ValidationException;
|
|
}
|
|
|
|
public void SetValidationException (Exception ex)
|
|
{
|
|
ValidationException = ex;
|
|
}
|
|
|
|
public bool CallControlPropertiesValid ()
|
|
{
|
|
return ControlPropertiesValid ();
|
|
}
|
|
|
|
public bool CallEvaluateIsValid ()
|
|
{
|
|
return EvaluateIsValid ();
|
|
}
|
|
|
|
public void CallValidateException (Exception ex)
|
|
{
|
|
ValidateException (ex);
|
|
}
|
|
}
|
|
}
|