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