Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / CellLabel.cs / 2 / CellLabel.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Data.Common.Utils; namespace System.Data.Mapping.ViewGeneration.Structures { // A class that abstracts the notion of identifying table mapping // fragments or cells, e.g., line numbers, etc internal class CellLabel { #region Constructors ////// Copy Constructor /// internal CellLabel(CellLabel source) { this.m_startLineNumber = source.m_startLineNumber; this.m_startLinePosition = source.m_startLinePosition; this.m_sourceLocation = source.m_sourceLocation; } internal CellLabel(StorageMappingFragment fragmentInfo) : this(fragmentInfo.StartLineNumber, fragmentInfo.StartLinePosition, fragmentInfo.SourceLocation) { } internal CellLabel(int startLineNumber, int startLinePosition, string sourceLocation) { m_startLineNumber = startLineNumber; m_startLinePosition = startLinePosition; m_sourceLocation = sourceLocation; } #endregion #region Fields private int m_startLineNumber; private int m_startLinePosition; private string m_sourceLocation; #endregion #region Properties internal int StartLineNumber { get { return m_startLineNumber; } } internal int StartLinePosition { get { return m_startLinePosition; } } internal string SourceLocation { get { return m_sourceLocation; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Data.Common.Utils; namespace System.Data.Mapping.ViewGeneration.Structures { // A class that abstracts the notion of identifying table mapping // fragments or cells, e.g., line numbers, etc internal class CellLabel { #region Constructors ////// Copy Constructor /// internal CellLabel(CellLabel source) { this.m_startLineNumber = source.m_startLineNumber; this.m_startLinePosition = source.m_startLinePosition; this.m_sourceLocation = source.m_sourceLocation; } internal CellLabel(StorageMappingFragment fragmentInfo) : this(fragmentInfo.StartLineNumber, fragmentInfo.StartLinePosition, fragmentInfo.SourceLocation) { } internal CellLabel(int startLineNumber, int startLinePosition, string sourceLocation) { m_startLineNumber = startLineNumber; m_startLinePosition = startLinePosition; m_sourceLocation = sourceLocation; } #endregion #region Fields private int m_startLineNumber; private int m_startLinePosition; private string m_sourceLocation; #endregion #region Properties internal int StartLineNumber { get { return m_startLineNumber; } } internal int StartLinePosition { get { return m_startLinePosition; } } internal string SourceLocation { get { return m_sourceLocation; } } #endregion } } // 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
- LambdaCompiler.Address.cs
- RemotingSurrogateSelector.cs
- LinearQuaternionKeyFrame.cs
- DrawingAttributeSerializer.cs
- DragCompletedEventArgs.cs
- DefaultCommandConverter.cs
- FormCollection.cs
- GridViewUpdatedEventArgs.cs
- ResourceAssociationSet.cs
- Models.cs
- LineGeometry.cs
- XmlSubtreeReader.cs
- HtmlTitle.cs
- TextRangeAdaptor.cs
- FormsAuthenticationCredentials.cs
- XmlSerializer.cs
- BrowsableAttribute.cs
- MailMessageEventArgs.cs
- DataGridRowAutomationPeer.cs
- HttpCachePolicyWrapper.cs
- MetadataArtifactLoaderCompositeFile.cs
- ApplicationFileCodeDomTreeGenerator.cs
- RelationshipWrapper.cs
- TextMarkerSource.cs
- ProcessModule.cs
- dataprotectionpermissionattribute.cs
- ObjectDataSourceDisposingEventArgs.cs
- TargetParameterCountException.cs
- DataGrid.cs
- UpdateTracker.cs
- TracingConnectionListener.cs
- DragEvent.cs
- DescendentsWalkerBase.cs
- EmbeddedObject.cs
- Point3DAnimationBase.cs
- ContainerFilterService.cs
- SourceFileInfo.cs
- _LocalDataStoreMgr.cs
- HtmlLink.cs
- shaperfactoryquerycachekey.cs
- StrongNameSignatureInformation.cs
- _ConnectOverlappedAsyncResult.cs
- CompilationUtil.cs
- WhitespaceRuleReader.cs
- compensatingcollection.cs
- ErrorHandler.cs
- DiscoveryService.cs
- PieceNameHelper.cs
- SchemaMapping.cs
- ObjRef.cs
- LeafCellTreeNode.cs
- QilUnary.cs
- XmlReader.cs
- Directory.cs
- DSASignatureFormatter.cs
- CodeTypeMemberCollection.cs
- BindingSource.cs
- TableLayoutSettings.cs
- WindowsStatusBar.cs
- Soap12FormatExtensions.cs
- SafeCryptContextHandle.cs
- VariableElement.cs
- DataKeyArray.cs
- GroupDescription.cs
- HeaderCollection.cs
- ObjectFullSpanRewriter.cs
- StringToken.cs
- CodeDelegateInvokeExpression.cs
- RandomNumberGenerator.cs
- FormsAuthenticationUserCollection.cs
- DBCommand.cs
- ViewCellSlot.cs
- ThicknessKeyFrameCollection.cs
- ClassicBorderDecorator.cs
- SafeSerializationManager.cs
- DelegatingHeader.cs
- CheckBoxBaseAdapter.cs
- FixedFindEngine.cs
- SafeBitVector32.cs
- GridItemPattern.cs
- ExpandButtonVisibilityConverter.cs
- VectorCollectionConverter.cs
- CompiledQueryCacheKey.cs
- StatusStrip.cs
- BinaryObjectInfo.cs
- MetafileHeader.cs
- X509ChainElement.cs
- CodeMethodInvokeExpression.cs
- basevalidator.cs
- ConfigXmlSignificantWhitespace.cs
- RelationshipEndCollection.cs
- OracleInternalConnection.cs
- ApplyImportsAction.cs
- XslVisitor.cs
- localization.cs
- RTTrackingProfile.cs
- BadImageFormatException.cs
- ExternalCalls.cs
- XmlTextEncoder.cs
- TreeNodeBindingCollection.cs