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
- HierarchicalDataTemplate.cs
- DefaultPropertyAttribute.cs
- ContainsRowNumberChecker.cs
- DataGridHelper.cs
- StringOutput.cs
- ACL.cs
- ErrorProvider.cs
- CustomServiceCredentials.cs
- Int32RectValueSerializer.cs
- UICuesEvent.cs
- PageRanges.cs
- XsltArgumentList.cs
- PropertyTabChangedEvent.cs
- HMACMD5.cs
- EncodingNLS.cs
- Accessible.cs
- ReflectionHelper.cs
- MSAAEventDispatcher.cs
- SQLInt32Storage.cs
- TimeEnumHelper.cs
- EdmScalarPropertyAttribute.cs
- DefaultClaimSet.cs
- TypeDelegator.cs
- DefaultPropertyAttribute.cs
- ContextBase.cs
- StylusButton.cs
- SimpleTypeResolver.cs
- VisualState.cs
- Axis.cs
- WindowsImpersonationContext.cs
- WebPartVerbCollection.cs
- DataServiceProcessingPipeline.cs
- WebServiceParameterData.cs
- OrthographicCamera.cs
- DATA_BLOB.cs
- ControlIdConverter.cs
- JsonFormatReaderGenerator.cs
- RawAppCommandInputReport.cs
- ReflectionServiceProvider.cs
- AccessedThroughPropertyAttribute.cs
- EntityDataSourceContextDisposingEventArgs.cs
- VisualTreeHelper.cs
- WizardPanelChangingEventArgs.cs
- HMACSHA1.cs
- StyleReferenceConverter.cs
- propertyentry.cs
- FixedTextSelectionProcessor.cs
- DocumentViewerConstants.cs
- SelectionRange.cs
- DynamicControlParameter.cs
- XamlTypeMapper.cs
- QueryLifecycle.cs
- ProtocolsSection.cs
- SystemWebCachingSectionGroup.cs
- ListViewHitTestInfo.cs
- ProcessRequestArgs.cs
- OdbcCommand.cs
- EnterpriseServicesHelper.cs
- DoubleCollectionValueSerializer.cs
- LassoHelper.cs
- TextTreeRootTextBlock.cs
- StandardCommandToolStripMenuItem.cs
- _ListenerResponseStream.cs
- PropertyItemInternal.cs
- ChannelSinkStacks.cs
- EntityModelBuildProvider.cs
- EntityParameter.cs
- WebServiceClientProxyGenerator.cs
- ConsoleCancelEventArgs.cs
- PropertyInformationCollection.cs
- SelectionPattern.cs
- PropertyTabChangedEvent.cs
- TraceXPathNavigator.cs
- MediaCommands.cs
- MDIClient.cs
- ZipIOLocalFileBlock.cs
- UInt64Converter.cs
- ArcSegment.cs
- PathFigureCollectionConverter.cs
- ZipIOCentralDirectoryBlock.cs
- SqlServices.cs
- BrushValueSerializer.cs
- CodeComment.cs
- LateBoundBitmapDecoder.cs
- TraceContext.cs
- UnmanagedMarshal.cs
- ToolStripItemGlyph.cs
- BooleanAnimationBase.cs
- SplineKeyFrames.cs
- SelectedCellsCollection.cs
- CustomTrackingRecord.cs
- HashAlgorithm.cs
- PopOutPanel.cs
- ParamArrayAttribute.cs
- LinqDataSourceSelectEventArgs.cs
- PlatformCulture.cs
- MetadataSource.cs
- GeneratedContractType.cs
- MatrixTransform3D.cs
- thaishape.cs