Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / Pair.cs / 1305376 / Pair.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl { internal struct Int32Pair { private int left; private int right; public Int32Pair(int left, int right) { this.left = left; this.right = right; } public int Left { get { return this.left ; } } public int Right { get { return this.right; } } public override bool Equals(object other) { if (other is Int32Pair) { Int32Pair o = (Int32Pair) other; return this.left == o.left && this.right == o.right; } return false; } public override int GetHashCode() { return this.left.GetHashCode() ^ this.right.GetHashCode(); } } internal struct StringPair { private string left; private string right; public StringPair(string left, string right) { this.left = left; this.right = right; } public string Left { get { return this.left ; } } public string Right { get { return this.right; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextServicesHost.cs
- SecurityTokenInclusionMode.cs
- SuspendDesigner.cs
- FakeModelPropertyImpl.cs
- WebUtil.cs
- XPathArrayIterator.cs
- GCHandleCookieTable.cs
- ScriptBehaviorDescriptor.cs
- TextParaClient.cs
- WindowsScroll.cs
- HtmlInputReset.cs
- TraceHandler.cs
- ContractMapping.cs
- RequestStatusBarUpdateEventArgs.cs
- DoubleUtil.cs
- Barrier.cs
- NetworkCredential.cs
- DataPagerFieldCollection.cs
- DbConnectionInternal.cs
- CancellationHandlerDesigner.cs
- ColorTranslator.cs
- ButtonAutomationPeer.cs
- EventHandlerList.cs
- LayoutTableCell.cs
- DataGridViewSelectedRowCollection.cs
- SelectionHighlightInfo.cs
- RangeEnumerable.cs
- LassoSelectionBehavior.cs
- SequentialOutput.cs
- UrlAuthFailedErrorFormatter.cs
- EntityDataSourceWizardForm.cs
- EdmToObjectNamespaceMap.cs
- coordinator.cs
- MissingManifestResourceException.cs
- FixedStringLookup.cs
- DataSourceCache.cs
- DataViewSetting.cs
- NativeStructs.cs
- PerCallInstanceContextProvider.cs
- ObjectList.cs
- ExceptionRoutedEventArgs.cs
- MultiBinding.cs
- StatusBarItem.cs
- ValidationEventArgs.cs
- TypeNameParser.cs
- ScrollEventArgs.cs
- UserControlDesigner.cs
- LockedBorderGlyph.cs
- TraceSource.cs
- SafeArrayTypeMismatchException.cs
- ParserHooks.cs
- VirtualPathUtility.cs
- HttpResponseInternalWrapper.cs
- ItemCollection.cs
- ResourceWriter.cs
- IndexingContentUnit.cs
- ReadWriteSpinLock.cs
- GAC.cs
- FontUnit.cs
- QueryOutputWriter.cs
- Point3D.cs
- StringFormat.cs
- SamlAction.cs
- LoggedException.cs
- GlobalizationSection.cs
- SlipBehavior.cs
- FormsAuthenticationCredentials.cs
- Set.cs
- ByteStreamMessageEncoderFactory.cs
- BuildProviderCollection.cs
- OracleEncoding.cs
- ThicknessConverter.cs
- LayoutTableCell.cs
- WebPartCollection.cs
- InfoCardProofToken.cs
- MetadataCache.cs
- RangeValidator.cs
- DragStartedEventArgs.cs
- AuthenticatedStream.cs
- XmlConverter.cs
- _NestedMultipleAsyncResult.cs
- PingReply.cs
- DictionarySectionHandler.cs
- Helpers.cs
- MouseActionValueSerializer.cs
- InitializerFacet.cs
- GridViewEditEventArgs.cs
- SynchronizedDispatch.cs
- Transaction.cs
- GeneratedContractType.cs
- ChangeBlockUndoRecord.cs
- BinaryMessageEncodingBindingElement.cs
- AnnotationHighlightLayer.cs
- _FtpControlStream.cs
- Label.cs
- ApplicationFileParser.cs
- InkPresenterAutomationPeer.cs
- ObjectStateFormatter.cs
- StylusSystemGestureEventArgs.cs
- CompressionTransform.cs