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
- _NtlmClient.cs
- ResourceSet.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- GPPOINTF.cs
- UniqueConstraint.cs
- LogReserveAndAppendState.cs
- DefaultDiscoveryService.cs
- StrokeSerializer.cs
- ContentElementAutomationPeer.cs
- Int32.cs
- RegisteredArrayDeclaration.cs
- PerCallInstanceContextProvider.cs
- GridViewDeletedEventArgs.cs
- NullReferenceException.cs
- MetabaseSettings.cs
- PerformanceCounterPermissionEntry.cs
- ComponentDispatcherThread.cs
- AutomationProperties.cs
- CodeAccessPermission.cs
- KeyValuePairs.cs
- CommonXSendMessage.cs
- ArrayTypeMismatchException.cs
- RoleBoolean.cs
- ProcessProtocolHandler.cs
- SchemaAttDef.cs
- _HelperAsyncResults.cs
- ComponentManagerBroker.cs
- PropertyEmitter.cs
- SplineQuaternionKeyFrame.cs
- MatcherBuilder.cs
- NoResizeSelectionBorderGlyph.cs
- InstanceDataCollectionCollection.cs
- DodSequenceMerge.cs
- DrawingVisual.cs
- MarginsConverter.cs
- LinqDataSource.cs
- GenericsInstances.cs
- TimeSpan.cs
- _NegoState.cs
- UnsafeNativeMethods.cs
- FixedSOMPageConstructor.cs
- QilInvokeEarlyBound.cs
- DesignerDataTableBase.cs
- DynamicQueryableWrapper.cs
- arclist.cs
- ProtocolsConfigurationEntry.cs
- RenderingBiasValidation.cs
- RotateTransform.cs
- ProviderConnectionPoint.cs
- SimpleTextLine.cs
- WinFormsComponentEditor.cs
- EntityExpressionVisitor.cs
- FieldCollectionEditor.cs
- Stopwatch.cs
- DocumentViewerAutomationPeer.cs
- SoapInteropTypes.cs
- X509Chain.cs
- RuntimeEnvironment.cs
- _NetRes.cs
- WrapPanel.cs
- BufferedReceiveElement.cs
- _NativeSSPI.cs
- AnimationLayer.cs
- PropertyMetadata.cs
- TdsParser.cs
- DataGridColumnStyleMappingNameEditor.cs
- ButtonDesigner.cs
- DockingAttribute.cs
- EventMappingSettings.cs
- DbParameterCollection.cs
- SectionRecord.cs
- TracePayload.cs
- KnownTypeAttribute.cs
- MiniLockedBorderGlyph.cs
- AsmxEndpointPickerExtension.cs
- RenamedEventArgs.cs
- PersonalizableAttribute.cs
- CodeAttributeDeclarationCollection.cs
- _UncName.cs
- VisualTarget.cs
- ProfileService.cs
- UseAttributeSetsAction.cs
- Mapping.cs
- DeclarativeCatalogPart.cs
- ConnectionOrientedTransportBindingElement.cs
- IDispatchConstantAttribute.cs
- TextSegment.cs
- ToolStripSystemRenderer.cs
- ImageButton.cs
- ExpandedWrapper.cs
- XamlReaderHelper.cs
- CollectionsUtil.cs
- XmlLanguage.cs
- InteropExecutor.cs
- SerializableAttribute.cs
- ToolStripSeparator.cs
- RegexFCD.cs
- wmiprovider.cs
- ImageCodecInfoPrivate.cs
- NullableIntAverageAggregationOperator.cs