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
- Rijndael.cs
- StaticTextPointer.cs
- SelectionChangedEventArgs.cs
- NetNamedPipeSecurityElement.cs
- FormatSettings.cs
- ElapsedEventArgs.cs
- AsymmetricSignatureDeformatter.cs
- CustomAttributeBuilder.cs
- SpellCheck.cs
- BookmarkUndoUnit.cs
- IdentityHolder.cs
- SchemaElementDecl.cs
- XmlSchemaFacet.cs
- ImageButton.cs
- BevelBitmapEffect.cs
- SyntaxCheck.cs
- ExpressionBinding.cs
- WorkflowServiceBuildProvider.cs
- DataTable.cs
- RepeatEnumerable.cs
- ActivityCompletionCallbackWrapper.cs
- ImpersonationContext.cs
- SizeConverter.cs
- ConvertEvent.cs
- MethodInfo.cs
- WebPartTransformer.cs
- BStrWrapper.cs
- RSAOAEPKeyExchangeFormatter.cs
- TextElementCollectionHelper.cs
- MetadataItemEmitter.cs
- DispatcherHooks.cs
- SQLBinaryStorage.cs
- MetadataItemSerializer.cs
- PrimitiveXmlSerializers.cs
- OleDbCommand.cs
- MenuStrip.cs
- WebConfigurationHost.cs
- MinMaxParagraphWidth.cs
- DockingAttribute.cs
- WebPartConnectionCollection.cs
- FrameworkElementAutomationPeer.cs
- ErrorFormatter.cs
- XmlSchemaCompilationSettings.cs
- UriSectionData.cs
- StorageTypeMapping.cs
- DataTemplate.cs
- AffineTransform3D.cs
- VersionedStream.cs
- ParameterCollection.cs
- SafeHandle.cs
- ParentUndoUnit.cs
- ToolStripManager.cs
- Flowchart.cs
- GlobalProxySelection.cs
- UInt32.cs
- ImageIndexConverter.cs
- CheckBoxList.cs
- DataGridHelper.cs
- OleDragDropHandler.cs
- FontWeight.cs
- DetailsViewCommandEventArgs.cs
- Soap12FormatExtensions.cs
- ProcessActivityTreeOptions.cs
- BinaryFormatter.cs
- SessionParameter.cs
- DataRelation.cs
- DebugTracing.cs
- DataGridViewCellCancelEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- X509AsymmetricSecurityKey.cs
- SqlBulkCopyColumnMapping.cs
- MachineKeySection.cs
- CacheDict.cs
- XamlReaderHelper.cs
- ReadOnlyObservableCollection.cs
- JoinTreeNode.cs
- GeometryConverter.cs
- LocalizationCodeDomSerializer.cs
- SslStream.cs
- TimeSpanOrInfiniteConverter.cs
- DataControlFieldCollection.cs
- PasswordPropertyTextAttribute.cs
- RegexStringValidatorAttribute.cs
- PassportAuthentication.cs
- ObjectViewFactory.cs
- HtmlTernaryTree.cs
- FixedPosition.cs
- autovalidator.cs
- EntityClassGenerator.cs
- UpDownEvent.cs
- SqlSelectStatement.cs
- HttpModuleAction.cs
- UnmanagedMemoryStreamWrapper.cs
- DomainUpDown.cs
- TextSpanModifier.cs
- ImageAnimator.cs
- BindingsCollection.cs
- NotifyCollectionChangedEventArgs.cs
- ResourceSet.cs
- TagMapInfo.cs