Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / CellLabel.cs / 1305376 / 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
- XmlReflectionImporter.cs
- DataGridSortCommandEventArgs.cs
- XmlNamespaceManager.cs
- FlowPanelDesigner.cs
- safemediahandle.cs
- ActivityInfo.cs
- ArrayHelper.cs
- FrameworkElement.cs
- EdmPropertyAttribute.cs
- FixedTextBuilder.cs
- SizeKeyFrameCollection.cs
- SafeArrayTypeMismatchException.cs
- MemberAccessException.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EmptyElement.cs
- CodeActivity.cs
- ProxyGenerator.cs
- TypeConverterAttribute.cs
- OptimalTextSource.cs
- KeySpline.cs
- BindableTemplateBuilder.cs
- webclient.cs
- XmlCodeExporter.cs
- ContextMenuAutomationPeer.cs
- PolyBezierSegment.cs
- SHA384Cng.cs
- WindowsToolbar.cs
- HostingPreferredMapPath.cs
- DataGridViewCellParsingEventArgs.cs
- SystemResourceKey.cs
- GradientStop.cs
- TcpWorkerProcess.cs
- ContainerParagraph.cs
- TypeValidationEventArgs.cs
- AuthenticationModuleElement.cs
- EventDescriptorCollection.cs
- X509CertificateRecipientClientCredential.cs
- Renderer.cs
- SymmetricAlgorithm.cs
- EmptyControlCollection.cs
- CompareValidator.cs
- CheckBoxField.cs
- CaseExpr.cs
- PathFigure.cs
- DataSourceXmlSerializationAttribute.cs
- OrthographicCamera.cs
- TableCellCollection.cs
- DataGridViewTextBoxColumn.cs
- PageAsyncTaskManager.cs
- Path.cs
- CompressEmulationStream.cs
- SwitchLevelAttribute.cs
- WindowsIPAddress.cs
- PolyQuadraticBezierSegment.cs
- MultipleViewPattern.cs
- SingleResultAttribute.cs
- TextDpi.cs
- AsymmetricKeyExchangeFormatter.cs
- TargetPerspective.cs
- Helper.cs
- TypeHelpers.cs
- ClientSponsor.cs
- StrongNamePublicKeyBlob.cs
- MetabaseServerConfig.cs
- Calendar.cs
- mansign.cs
- DateTimePicker.cs
- SecurityKeyIdentifier.cs
- DynamicDataRoute.cs
- QilLoop.cs
- BitmapCodecInfoInternal.cs
- VisualBasicSettingsHandler.cs
- DynamicResourceExtension.cs
- TextElementEnumerator.cs
- GeneralTransform3DGroup.cs
- ProjectionCamera.cs
- QueryIntervalOp.cs
- InternalControlCollection.cs
- QilValidationVisitor.cs
- ToolBar.cs
- WindowsRichEditRange.cs
- DataControlFieldCollection.cs
- CacheMemory.cs
- ServicePointManagerElement.cs
- DesignerVerbToolStripMenuItem.cs
- URLAttribute.cs
- ResourceSetExpression.cs
- SelectionWordBreaker.cs
- BaseTransportHeaders.cs
- DataGridTextBox.cs
- SecurityManager.cs
- BuiltInExpr.cs
- DataQuery.cs
- HostedElements.cs
- _Rfc2616CacheValidators.cs
- Deflater.cs
- TaiwanCalendar.cs
- XsltException.cs
- DataGridViewSortCompareEventArgs.cs
- FormViewUpdateEventArgs.cs