53 instantiations of Pair
System.Web (37)
Compilation\ConnectionStringsExpressionBuilder.cs (1)
46
return new
Pair
(name, connectionString);
Configuration\HttpCapabilitiesSectionHandler.cs (1)
237
fileList.Add(new
Pair
(filename, attr));
Handlers\AssemblyResourceLoader.cs (1)
153
Pair assemblyInfo = new
Pair
(assemblyName, assemblyDate);
UI\Control.cs (2)
2455
return new
Pair
(controlState, adapterControlState);
2556
return new
Pair
(controlSavedState, childStates);
UI\DesignTimeParseData.cs (2)
121
allEntries.Add(new Triplet(entry.TagPrefix, new
Pair
(entry.TagName, entry.UserControlSource.ToString()), null));
126
allEntries.Add(new Triplet(entry.TagPrefix, null, new
Pair
(entry.Namespace, entry.AssemblyName)));
UI\HiddenFieldPageStatePersister.cs (1)
53
Page.ClientState = Util.SerializeWithAssert(StateFormatter2, new
Pair
(ViewState, ControlState), Purpose.WebForms_HiddenFieldPageStatePersister_ClientState);
UI\ObjectStateFormatter.cs (1)
517
return new
Pair
(DeserializeValue(reader),
UI\OrderedDictionaryStateHelper.cs (1)
38
list.Add(new
Pair
(entry.Key, entry.Value));
UI\Page.cs (3)
2114
return new
Pair
(persister.ControlState, persister.ViewState);
5464
Pair statePair = new
Pair
();
5513
Pair allSavedViewState = new
Pair
(GetTypeHashCode().ToString(NumberFormatInfo.InvariantInfo), SaveViewStateRecursive(inheritedMode));
UI\ParsedAttributeCollection.cs (1)
86
Pair pair = new
Pair
(line, column);
UI\SessionPageStatePersister.cs (3)
108
state = new
Pair
(ViewState, ControlState);
114
clientData = new
Pair
(sessionViewStateID, ControlState);
139
Page.ClientState = Util.SerializeWithAssert(StateFormatter2, new
Pair
(requiresControlStateInSession, clientData), Purpose.WebForms_SessionPageStatePersister_ClientState);
UI\StateManagedCollection.cs (4)
432
return new
Pair
(states, typeIndices);
435
return new
Pair
(states, new
Pair
(typeIndices, typedObjectTypeNames));
518
return new Triplet(indices, states, new
Pair
(typeIndices, typedObjectTypeNames));
UI\UserControl.cs (1)
331
myState = new
Pair
(baseState, attrState);
UI\WebControls\Adapters\MenuAdapter.cs (1)
133
return new
Pair
(baseState, _path);
UI\WebControls\DataBoundControl.cs (1)
501
Pair myState = new
Pair
();
UI\WebControls\listitem.cs (1)
330
return new
Pair
(text, value);
UI\WebControls\ListItemCollection.cs (1)
418
return new
Pair
(indices, items);
UI\WebControls\LoginView.cs (1)
334
return new
Pair
(baseState, templateIndexState);
UI\WebControls\Menu.cs (1)
2359
return new
Pair
(baseState, _selectedItem.InternalValuePath);
UI\WebControls\MethodParametersDictionary.cs (1)
81
return hasState ? new
Pair
(names, states) : null;
UI\WebControls\MultiView.cs (1)
347
return new
Pair
(obj, avi);
UI\WebControls\ObjectDataSource.cs (1)
1000
Pair myState = new
Pair
();
UI\WebControls\ObjectDataSourceView.cs (1)
1987
Pair myState = new
Pair
();
UI\WebControls\Repeater.cs (1)
1010
Pair myState = new
Pair
();
UI\WebControls\SqlDataSource.cs (1)
1096
Pair myState = new
Pair
();
UI\WebControls\SqlDataSourceView.cs (1)
1457
Pair myState = new
Pair
();
UI\WebControls\WebControl.cs (1)
852
myState = new
Pair
(baseState, aState);
UI\WebParts\PersonalizableAttribute.cs (1)
207
propertyBag[name] = new
Pair
(propEntry.PropertyInfo, value);
System.Web.DynamicData (1)
DynamicData\ControlFilterExpression.cs (1)
89
Pair p = new
Pair
();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
1616
return new
Pair
(_disableUpdates, _originalProperties);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
48
new
Pair
(context, value),
System.Web.Extensions (3)
UI\WebControls\Expressions\ParameterDataSourceExpression.cs (1)
47
Pair p = new
Pair
();
UI\WebControls\QueryableDataSource.cs (1)
107
Pair myState = new
Pair
();
UI\WebControls\QueryExtender.cs (1)
109
Pair p = new
Pair
();
System.Web.Mobile (10)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
260
return new
Pair
(baseState, _chooseOption);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
243
return new
Pair
(baseState, _chooseOption);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
223
return new
Pair
(baseState, _chooseOption);
UI\MobileControls\MobilePage.cs (3)
1183
state = new
Pair
(null,
1211
state = new
Pair
(null, new Triplet(GetTypeHashCode().ToString(CultureInfo.InvariantCulture), null, null));
1289
new
Pair
(activeFormID, serverViewStateID));
UI\MobileControls\PagedControl.cs (3)
306
return new
Pair
(baseState, new
Pair
(_lastItemIndexLoaded, _lastItemCountLoaded));
311
return new
Pair
(baseState, null);
UI\MobileControls\SessionViewState.cs (1)
204
Pair id = new
Pair
(_sessionUniqueID, _currentHistoryID);
145 references to Pair
System.Web (101)
Compilation\ConnectionStringsExpressionBuilder.cs (4)
53
Pair
p = (
Pair
)parsedData;
68
Pair
p = (
Pair
)parsedData;
Configuration\DelayedRegex.cs (1)
19
using Pair = System.Web.UI.
Pair
;
Configuration\HttpCapabilitiesSectionHandler.cs (4)
19
using Pair = System.Web.UI.
Pair
;
306
Pair
pair0 = (
Pair
)parseState.FileList[0];
319
foreach (
Pair
pair in parseState.FileList) {
Handlers\AssemblyResourceLoader.cs (7)
139
private static
Pair
GetAssemblyInfo(Assembly assembly) {
140
Pair
assemblyInfo = _assemblyInfoCache[assembly] as
Pair
;
150
private static
Pair
GetAssemblyInfoWithAssertInternal(Assembly assembly) {
153
Pair
assemblyInfo = new Pair(assemblyName, assemblyDate);
417
Pair
assemblyInfo = GetAssemblyInfo(effectiveAssembly);
642
Pair
assemblyInfo = GetAssemblyInfo(assembly);
UI\Control.cs (4)
1953
Pair
savedState = (
Pair
)savedStateObj;
2018
Pair
allSavedState = savedState as
Pair
;
UI\ControlBuilder.cs (1)
2925
IDictionary<String,
Pair
> attributeValuePositions = null;
UI\HiddenFieldPageStatePersister.cs (2)
32
Pair
combinedState = (
Pair
)Util.DeserializeWithAssert(StateFormatter2, viewStateString, Purpose.WebForms_HiddenFieldPageStatePersister_ClientState);
UI\ObjectStateFormatter.cs (3)
924
if (value is
Pair
) {
927
Pair
p = (
Pair
)value;
UI\OrderedDictionaryStateHelper.cs (2)
25
Pair
pairEntry = (
Pair
)state[i];
UI\Page.cs (11)
2032
Pair
allSavedViewState = null;
2033
Pair
statePair = state as
Pair
;
2036
allSavedViewState = statePair.Second as
Pair
;
5464
Pair
statePair = new Pair();
5513
Pair
allSavedViewState = new Pair(GetTypeHashCode().ToString(NumberFormatInfo.InvariantInfo), SaveViewStateRecursive(inheritedMode));
5517
if (allSavedViewState.Second is
Pair
) {
5518
viewStateSize = EstimateStateSize(((
Pair
)allSavedViewState.Second).First);
5544
if (state is
Pair
) {
5545
Pair
pair = (
Pair
)state;
UI\ParsedAttributeCollection.cs (4)
23
private IDictionary<String,
Pair
> _attributeValuePositionInfo;
86
Pair
pair = new Pair(line, column);
90
public IDictionary<String,
Pair
> AttributeValuePositionsDictionary {
93
_attributeValuePositionInfo = new Dictionary<String,
Pair
>(StringComparer.OrdinalIgnoreCase);
UI\SessionPageStatePersister.cs (6)
49
Pair
combinedState = (
Pair
)Util.DeserializeWithAssert(StateFormatter2, combinedSerializedStateString, Purpose.WebForms_SessionPageStatePersister_ClientState);
58
Pair
pair = (
Pair
)combinedState.Second;
67
Pair
combinedState = sessionData as
Pair
;
UI\StateManagedCollection.cs (9)
155
Debug.Assert(savedState is
Pair
);
157
Pair
p1 = (
Pair
)savedState;
159
if (p1.Second is
Pair
) {
160
Pair
p2 = (
Pair
)p1.Second;
232
if (t.Third is
Pair
) {
234
Pair
p = (
Pair
)t.Third;
UI\UserControl.cs (3)
307
Pair
myState = (
Pair
)savedState;
322
Pair
myState = null;
UI\WebControls\Adapters\MenuAdapter.cs (2)
33
Pair
pairState = state as
Pair
;
UI\WebControls\DataBoundControl.cs (3)
471
Pair
myState = (
Pair
)savedState;
501
Pair
myState = new Pair();
UI\WebControls\listitem.cs (3)
283
else if (state is
Pair
) {
284
Pair
p = (
Pair
) state;
UI\WebControls\ListItemCollection.cs (3)
337
if (state is
Pair
) {
339
Pair
p = (
Pair
) state;
UI\WebControls\LoginView.cs (2)
263
Pair
state = (
Pair
)savedState;
UI\WebControls\Menu.cs (2)
2085
Pair
state = savedState as
Pair
;
UI\WebControls\MethodParametersDictionary.cs (3)
50
Debug.Assert(savedState is
Pair
);
51
Pair
pair = (
Pair
)savedState;
UI\WebControls\MultiView.cs (2)
231
Pair
p = state as
Pair
;
UI\WebControls\ObjectDataSource.cs (3)
948
Pair
myState = (
Pair
)savedState;
1000
Pair
myState = new Pair();
UI\WebControls\ObjectDataSourceView.cs (3)
1747
Pair
myState = (
Pair
)savedState;
1987
Pair
myState = new Pair();
UI\WebControls\Repeater.cs (3)
980
Pair
myState = (
Pair
)savedState;
1010
Pair
myState = new Pair();
UI\WebControls\SqlDataSource.cs (3)
1046
Pair
myState = (
Pair
)savedState;
1096
Pair
myState = new Pair();
UI\WebControls\SqlDataSourceView.cs (3)
1254
Pair
myState = (
Pair
)savedState;
1457
Pair
myState = new Pair();
UI\WebControls\WebControl.cs (3)
715
Pair
myState = (
Pair
)savedState;
832
Pair
myState = null;
UI\WebParts\WebPartManager.cs (2)
2243
Pair
data = entry.Value as
Pair
;
System.Web.DynamicData (3)
DynamicData\ControlFilterExpression.cs (3)
89
Pair
p = new Pair();
96
Pair
p = (
Pair
)savedState;
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceView.cs (2)
1607
var
state = (
Pair
)savedState;
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (2)
28
ITypeDescriptorContext context = (ITypeDescriptorContext)((
Pair
)pair).First;
29
string value = (string)((
Pair
)pair).Second;
System.Web.Extensions (9)
UI\WebControls\Expressions\ParameterDataSourceExpression.cs (3)
47
Pair
p = new Pair();
54
Pair
p = (
Pair
)savedState;
UI\WebControls\QueryableDataSource.cs (3)
107
Pair
myState = new Pair();
131
Pair
myState = (
Pair
)savedState;
UI\WebControls\QueryExtender.cs (3)
109
Pair
p = new Pair();
116
Pair
p = (
Pair
)savedState;
System.Web.Mobile (28)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (3)
199
if (state is
Pair
)
201
Pair
pair = (
Pair
)state;
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (3)
181
if (state is
Pair
)
183
Pair
pair = (
Pair
)state;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (3)
172
if (state is
Pair
) {
173
Pair
pair = (
Pair
)state;
UI\MobileControls\MobilePage.cs (9)
1149
Pair
pair = _privateViewState[PageClientViewStateKey] as
Pair
;
1154
Pair
id = (
Pair
) pair.Second;
1227
Pair
serverViewStateID;
1297
Pair
pair = viewState as
Pair
;
1302
Pair
allViewState = pair.Second as
Pair
;
UI\MobileControls\PagedControl.cs (5)
36
Pair
_stateLoadItemsArgs = null;
321
Debug.Assert (state == null || state.GetType() == typeof(
Pair
),
324
Pair
statePair = state as
Pair
;
328
_stateLoadItemsArgs = statePair.Second as
Pair
;
UI\MobileControls\SessionViewState.cs (5)
66
internal /*public*/
Pair
Save(MobilePage page)
83
internal /*public*/ void Load(MobilePage page,
Pair
id)
202
public
Pair
Push(SessionViewStateHistoryItem item)
204
Pair
id = new Pair(_sessionUniqueID, _currentHistoryID);
221
public SessionViewStateHistoryItem Find(
Pair
id)