mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* Makefile (TEST_RESOURCE_FILES): added Test/WebPages/ListView_DynamicControl_09.aspx and Test/WebPages/ListView_DynamicControl_09.aspx.cs 2009-09-15 Marek Habersack <[email protected]> * FieldTemplateFactoryTest.cs: implemented tests for BuildVirtualPath, GetFieldTemplateVirtualPath and PreprocessMode. 2009-09-15 Marek Habersack <[email protected]> * MetaColumn.cs: DataTypeAttribtue created automatically for string columns, must be of type MultilineText for long strings. * FieldTemplateFactory.cs: implemented BuildVirtualPath, CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode and fixed implementation of TemplateFolderVirtualPath. 2009-09-15 Marek Habersack <[email protected]> * DataTypeAttribute.cs: implemented GetDataTypeName 2009-09-15 Marek Habersack <[email protected]> * ListView.cs: CreateChildControls calls EnsureDataBound only if we're not in post-back and if data binding is required. svn path=/trunk/mcs/; revision=141922
26 lines
665 B
C#
26 lines
665 B
C#
using System;
|
|
|
|
|
|
namespace MonoTests.Common
|
|
{
|
|
sealed class FieldTemplateTestDescription
|
|
{
|
|
public string ColumnName { get; private set; }
|
|
public string ControlVirtualPath { get; private set; }
|
|
public bool IsNull { get; private set; }
|
|
|
|
public FieldTemplateTestDescription (string columnName)
|
|
: this (columnName, String.Empty, true) { }
|
|
|
|
public FieldTemplateTestDescription (string columnName, string virtualPath)
|
|
: this (columnName, virtualPath, false) { }
|
|
|
|
public FieldTemplateTestDescription (string columnName, string virtualPath, bool isNull)
|
|
{
|
|
ColumnName = columnName;
|
|
ControlVirtualPath = virtualPath;
|
|
IsNull = isNull;
|
|
}
|
|
}
|
|
}
|