mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* RouteCollectionTest.cs, RouteTest.cs: added new tests for GetVirtualPath 2009-06-25 Marek Habersack <[email protected]> * PatternParser.cs: parameter name lookups must be case-insensitive. Null and empty (string) parameters are skipped when building query part of the action path. 2009-06-25 Marek Habersack <[email protected]> * LinqDataSource.cs: make ContextType not throw an exception when ContextTypeName is not set, but rather return a null in that case. 2009-06-25 Marek Habersack <[email protected]> * MetaTableTest.cs: new GetVirtualPath tests. * DynamicDataRouteTest.cs: added tests for route.Defaults modifications on class init. * DynamicDataRouteHandlerTest.cs: added 2009-06-25 Marek Habersack <[email protected]> * MetaTable.cs: Fixes to make tests succeed. * MetaModel.cs: added the GetDataFieldAttributes method for retrieving attributes associated with data type/field. Fixes to make tests succeed. * MetaColumn.cs: refactoring - use MetaModel.GetDataFieldAttributes instead of the local version. * DynamicDataRouteHandler.cs: implemented GetRequestContext, GetRequestMetaTable. * DynamicDataRoute.cs: when the Action and Table properties are set before one of GetVirtualPath or GetRouteData methods are called for the first time, a check is made whether the Defaults collection exists and whether it contains entries for Action and Table. Initialization code makes sure those entries are inserted into the dictionary in those cases. svn path=/trunk/mcs/; revision=136875
30 lines
536 B
C#
30 lines
536 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MonoTests.Common
|
|
{
|
|
class UnknownResponseHeader
|
|
{
|
|
private string name;
|
|
private string value;
|
|
|
|
public UnknownResponseHeader (string name, string value)
|
|
{
|
|
this.name = name;
|
|
this.value = value;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get { return name; }
|
|
}
|
|
|
|
public string Value
|
|
{
|
|
get { return value; }
|
|
}
|
|
}
|
|
}
|