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
- CompatibleComparer.cs
- HttpPostedFileWrapper.cs
- EraserBehavior.cs
- FamilyCollection.cs
- QilName.cs
- HttpAsyncResult.cs
- ObjectDesignerDataSourceView.cs
- XmlRawWriterWrapper.cs
- HttpConfigurationContext.cs
- D3DImage.cs
- StrongNameIdentityPermission.cs
- PublisherMembershipCondition.cs
- WaitHandleCannotBeOpenedException.cs
- IDQuery.cs
- RootBrowserWindow.cs
- altserialization.cs
- PipeSecurity.cs
- GeneralTransform3DGroup.cs
- HttpConfigurationSystem.cs
- ValueCollectionParameterReader.cs
- XamlWrapperReaders.cs
- ThrowHelper.cs
- FilterQuery.cs
- login.cs
- NullReferenceException.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ThumbAutomationPeer.cs
- HttpPostClientProtocol.cs
- MatrixTransform.cs
- AssemblyName.cs
- ParseNumbers.cs
- ListViewItem.cs
- ModuleBuilderData.cs
- PrtCap_Public_Simple.cs
- Soap12FormatExtensions.cs
- WebPartConnectionsConnectVerb.cs
- CommandValueSerializer.cs
- ExtendedProtectionPolicy.cs
- HuffModule.cs
- GradientSpreadMethodValidation.cs
- HtmlElementCollection.cs
- InvokeHandlers.cs
- OleDbRowUpdatedEvent.cs
- Equal.cs
- CommonObjectSecurity.cs
- NamedPipeDuplicateContext.cs
- LinqDataSourceView.cs
- RuntimeHelpers.cs
- ValidatingCollection.cs
- SecurityPolicySection.cs
- XPathItem.cs
- SingleAnimationUsingKeyFrames.cs
- OperandQuery.cs
- WebPartMenuStyle.cs
- NameValueSectionHandler.cs
- DataGridViewCellConverter.cs
- SqlAliasesReferenced.cs
- NamedObject.cs
- cookiecontainer.cs
- HostUtils.cs
- XmlChildEnumerator.cs
- ActiveXSite.cs
- NavigationEventArgs.cs
- Char.cs
- QilChoice.cs
- MenuItemBindingCollection.cs
- TypedTableBase.cs
- SimpleApplicationHost.cs
- ListView.cs
- XmlSchemaParticle.cs
- FloaterBaseParagraph.cs
- QuaternionRotation3D.cs
- UnsignedPublishLicense.cs
- DataServiceRequest.cs
- SerializationStore.cs
- Rect.cs
- AssemblyHelper.cs
- StrokeIntersection.cs
- ContextProperty.cs
- BrowserInteropHelper.cs
- ZipIOLocalFileBlock.cs
- DataGridViewSelectedCellCollection.cs
- RangeEnumerable.cs
- DataGridCell.cs
- DescendentsWalkerBase.cs
- ImplicitInputBrush.cs
- CellRelation.cs
- mongolianshape.cs
- Point3DAnimationUsingKeyFrames.cs
- WeakEventTable.cs
- ExpandCollapseProviderWrapper.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Environment.cs
- FixedStringLookup.cs
- BaseCodeDomTreeGenerator.cs
- SelectionItemPatternIdentifiers.cs
- TextTrailingWordEllipsis.cs
- SystemColors.cs
- PowerStatus.cs
- PropertiesTab.cs