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
- ConfigurationManagerInternal.cs
- StyleSelector.cs
- EditorZoneBase.cs
- SimpleBitVector32.cs
- WebPartCatalogCloseVerb.cs
- DriveNotFoundException.cs
- RawStylusInputCustomData.cs
- MemoryRecordBuffer.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AssociationSetEnd.cs
- ReachDocumentPageSerializer.cs
- TableCell.cs
- PrintDocument.cs
- PopOutPanel.cs
- XmlName.cs
- MemoryFailPoint.cs
- EdmItemError.cs
- CodeLinePragma.cs
- WebBrowserUriTypeConverter.cs
- EventRoute.cs
- TypeConvertions.cs
- DataGridViewCell.cs
- WebAdminConfigurationHelper.cs
- ProcessHostConfigUtils.cs
- CompoundFileDeflateTransform.cs
- _ConnectionGroup.cs
- HttpMethodConstraint.cs
- HMACSHA1.cs
- ToolStripTextBox.cs
- ColorMap.cs
- Panel.cs
- InkCollectionBehavior.cs
- SqlMethods.cs
- QueryOutputWriter.cs
- GeneralTransformCollection.cs
- NativeMethodsCLR.cs
- WinFormsSpinner.cs
- TemplateInstanceAttribute.cs
- StringBlob.cs
- Bezier.cs
- MappedMetaModel.cs
- DynamicValidatorEventArgs.cs
- ContentElementAutomationPeer.cs
- TaskbarItemInfo.cs
- TableLayoutColumnStyleCollection.cs
- VisualTreeUtils.cs
- IdentityManager.cs
- BoundField.cs
- wmiutil.cs
- DataGridTableCollection.cs
- CapiSymmetricAlgorithm.cs
- FixedPageProcessor.cs
- DbConnectionPoolGroupProviderInfo.cs
- Attribute.cs
- RC2CryptoServiceProvider.cs
- ProtectedConfiguration.cs
- RenderData.cs
- Peer.cs
- SqlInternalConnectionTds.cs
- AdRotatorDesigner.cs
- Point3DConverter.cs
- FlowDecision.cs
- ByteAnimationBase.cs
- XmlBoundElement.cs
- AttributeTable.cs
- SQLStringStorage.cs
- ValueType.cs
- OneOfScalarConst.cs
- SqlStream.cs
- DynamicRendererThreadManager.cs
- ScrollProperties.cs
- RequestUriProcessor.cs
- FontWeights.cs
- KeyInstance.cs
- SqlTriggerContext.cs
- Point.cs
- GridViewCommandEventArgs.cs
- ExpressionReplacer.cs
- DbConvert.cs
- FontInfo.cs
- WindowsTab.cs
- CodeIdentifiers.cs
- input.cs
- SelectedGridItemChangedEvent.cs
- XmlSerializerAssemblyAttribute.cs
- PartDesigner.cs
- DependencyPropertyDescriptor.cs
- DataMemberFieldEditor.cs
- DataContract.cs
- SmiRequestExecutor.cs
- TextEffect.cs
- XmlFormatReaderGenerator.cs
- FillErrorEventArgs.cs
- FormatterConverter.cs
- SpeechSeg.cs
- StyleModeStack.cs
- ItemContainerProviderWrapper.cs
- Facet.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ExtensibleClassFactory.cs