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
- SwitchExpression.cs
- WebService.cs
- M3DUtil.cs
- RoleManagerSection.cs
- AuthenticationModulesSection.cs
- MemoryMappedViewStream.cs
- PageCatalogPartDesigner.cs
- ProcessManager.cs
- Brush.cs
- ResourceManager.cs
- KeyedHashAlgorithm.cs
- DynamicValueConverter.cs
- XmlSchemaRedefine.cs
- TaskFileService.cs
- CacheDependency.cs
- HttpConfigurationContext.cs
- BamlWriter.cs
- AlphabeticalEnumConverter.cs
- DefaultTraceListener.cs
- GiveFeedbackEvent.cs
- PointKeyFrameCollection.cs
- ContextQuery.cs
- GeometryValueSerializer.cs
- EntityTransaction.cs
- XmlSerializerAssemblyAttribute.cs
- CompressedStack.cs
- SecurityResources.cs
- AttachmentCollection.cs
- ReferenceEqualityComparer.cs
- WebPart.cs
- ListViewAutomationPeer.cs
- InputBinding.cs
- PersistenceMetadataNamespace.cs
- Assert.cs
- DefaultWorkflowLoaderService.cs
- TcpServerChannel.cs
- RequestDescription.cs
- EventLog.cs
- sqlser.cs
- BitmapData.cs
- ServerIdentity.cs
- OleDbPermission.cs
- ListParaClient.cs
- FacetDescription.cs
- SQLConvert.cs
- PopOutPanel.cs
- SingleResultAttribute.cs
- NotSupportedException.cs
- WinCategoryAttribute.cs
- Set.cs
- RowToFieldTransformer.cs
- SettingsContext.cs
- Marshal.cs
- ExpressionHelper.cs
- SchemaElement.cs
- PersistenceTypeAttribute.cs
- RegionData.cs
- KeyedCollection.cs
- ForeignKeyConstraint.cs
- MsmqException.cs
- SafeThemeHandle.cs
- DesignTimeVisibleAttribute.cs
- BrowserDefinitionCollection.cs
- HtmlTableRowCollection.cs
- CommandExpr.cs
- Trace.cs
- DbUpdateCommandTree.cs
- _emptywebproxy.cs
- RectAnimationClockResource.cs
- ListBoxAutomationPeer.cs
- DEREncoding.cs
- SafeThreadHandle.cs
- ObjectFullSpanRewriter.cs
- WindowsEditBox.cs
- MDIWindowDialog.cs
- InstallerTypeAttribute.cs
- ListBindableAttribute.cs
- ImageSource.cs
- Misc.cs
- MULTI_QI.cs
- TaiwanCalendar.cs
- ListViewGroupItemCollection.cs
- SqlDependency.cs
- XmlC14NWriter.cs
- ParenExpr.cs
- JsonReader.cs
- DataSet.cs
- UidManager.cs
- PerformanceCounterManager.cs
- WorkflowTimerService.cs
- VolatileEnlistmentState.cs
- TrueReadOnlyCollection.cs
- Win32MouseDevice.cs
- Attribute.cs
- Mappings.cs
- SqlWebEventProvider.cs
- PageAsyncTaskManager.cs
- securestring.cs
- WpfGeneratedKnownTypes.cs
- ReadingWritingEntityEventArgs.cs