Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RtfToken.cs
- DashStyle.cs
- TextBounds.cs
- DataBindingCollection.cs
- ValueConversionAttribute.cs
- QueueSurrogate.cs
- CommandField.cs
- StaticExtension.cs
- ImageList.cs
- WinFormsUtils.cs
- Maps.cs
- ProtectedConfigurationSection.cs
- BridgeDataReader.cs
- TextComposition.cs
- Validator.cs
- VBIdentifierDesigner.xaml.cs
- CounterSampleCalculator.cs
- XPathSelfQuery.cs
- CurrentTimeZone.cs
- EntitySetBase.cs
- Baml6ConstructorInfo.cs
- QuaternionAnimationBase.cs
- DataGridViewTopRowAccessibleObject.cs
- ObjectListCommandEventArgs.cs
- OdbcCommand.cs
- EncoderNLS.cs
- EndpointBehaviorElementCollection.cs
- RegexFCD.cs
- PolicyFactory.cs
- RowBinding.cs
- ChangeToolStripParentVerb.cs
- SemaphoreFullException.cs
- RectangleConverter.cs
- GregorianCalendar.cs
- ConsoleCancelEventArgs.cs
- StateManagedCollection.cs
- ToolStripItemImageRenderEventArgs.cs
- IconHelper.cs
- OdbcErrorCollection.cs
- DecimalConstantAttribute.cs
- UIPermission.cs
- PropertyDescriptor.cs
- PlaceHolder.cs
- UserPersonalizationStateInfo.cs
- PagerSettings.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- InternalConfigConfigurationFactory.cs
- FixedSOMLineCollection.cs
- RealProxy.cs
- FixedStringLookup.cs
- _LazyAsyncResult.cs
- InstalledVoice.cs
- Solver.cs
- UserControl.cs
- StringCollection.cs
- WindowsToolbarItemAsMenuItem.cs
- WebChannelFactory.cs
- HtmlElement.cs
- _ListenerResponseStream.cs
- FragmentQueryProcessor.cs
- ClientEndpointLoader.cs
- XmlWriterTraceListener.cs
- PointHitTestParameters.cs
- Random.cs
- AndCondition.cs
- ProxyElement.cs
- XPathNode.cs
- ToolStripGripRenderEventArgs.cs
- DataGridTextBoxColumn.cs
- HwndSourceKeyboardInputSite.cs
- HtmlControlDesigner.cs
- HttpServerProtocol.cs
- WebPartDescriptionCollection.cs
- RoleGroup.cs
- CryptographicAttribute.cs
- CodeAccessSecurityEngine.cs
- DependentTransaction.cs
- EntityDataSourceView.cs
- HeaderedContentControl.cs
- BaseServiceProvider.cs
- DynamicHyperLink.cs
- EventRouteFactory.cs
- ArithmeticLiteral.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ExpressionBuilderCollection.cs
- AnnotationResource.cs
- DecoderBestFitFallback.cs
- CodeLabeledStatement.cs
- PropertyChangedEventArgs.cs
- LineSegment.cs
- AddDataControlFieldDialog.cs
- LocalIdKeyIdentifierClause.cs
- ReliabilityContractAttribute.cs
- BitmapEffectInputData.cs
- SecureUICommand.cs
- ContentType.cs
- CompilerWrapper.cs
- LinkLabelLinkClickedEvent.cs
- UshortList2.cs
- PointCollectionConverter.cs