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
- ReadOnlyCollectionBase.cs
- TableRow.cs
- ServiceContractListItemList.cs
- Comparer.cs
- Int64Converter.cs
- AttachedPropertiesService.cs
- PeerChannelFactory.cs
- XmlDataDocument.cs
- RecordsAffectedEventArgs.cs
- XmlSerializerSection.cs
- XmlValidatingReaderImpl.cs
- EntityDataSourceEntityTypeFilterItem.cs
- StrokeFIndices.cs
- UIElementCollection.cs
- AbstractDataSvcMapFileLoader.cs
- DataGridViewCellMouseEventArgs.cs
- RectValueSerializer.cs
- NameValueSectionHandler.cs
- panel.cs
- RenderingEventArgs.cs
- ZipArchive.cs
- PasswordRecoveryDesigner.cs
- DbProviderConfigurationHandler.cs
- PointAnimation.cs
- Trigger.cs
- SqlOuterApplyReducer.cs
- GregorianCalendarHelper.cs
- ProviderException.cs
- UIElementParagraph.cs
- BrushValueSerializer.cs
- VisualStyleTypesAndProperties.cs
- FormDocumentDesigner.cs
- _AutoWebProxyScriptHelper.cs
- CodeGroup.cs
- SqlBooleanizer.cs
- SQLResource.cs
- _RegBlobWebProxyDataBuilder.cs
- LastQueryOperator.cs
- XhtmlMobileTextWriter.cs
- OpenTypeCommon.cs
- DataGridViewEditingControlShowingEventArgs.cs
- RowUpdatingEventArgs.cs
- DataGridLinkButton.cs
- ApplicationInfo.cs
- ConfigXmlComment.cs
- RawStylusInputCustomDataList.cs
- ReferenceEqualityComparer.cs
- DataGridViewRow.cs
- XmlWriterTraceListener.cs
- DataRowExtensions.cs
- WinInetCache.cs
- Roles.cs
- WizardStepBase.cs
- _NestedMultipleAsyncResult.cs
- SwitchElementsCollection.cs
- DrawToolTipEventArgs.cs
- ScrollData.cs
- ListenerServiceInstallComponent.cs
- TextParagraphView.cs
- PropertyNames.cs
- WindowsListViewSubItem.cs
- PopupEventArgs.cs
- ObjectAnimationBase.cs
- ThicknessAnimationUsingKeyFrames.cs
- MatrixValueSerializer.cs
- ComContractElementCollection.cs
- Inline.cs
- HttpProfileBase.cs
- SimpleTypeResolver.cs
- AndCondition.cs
- Operator.cs
- Stroke2.cs
- ComplexType.cs
- PointAnimationBase.cs
- CodeAccessPermission.cs
- FieldAccessException.cs
- HtmlInputImage.cs
- DrawItemEvent.cs
- ConfigurationManagerHelperFactory.cs
- versioninfo.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PageCodeDomTreeGenerator.cs
- TextElement.cs
- ResourcePermissionBase.cs
- DebuggerAttributes.cs
- AlternateViewCollection.cs
- ResXFileRef.cs
- NamedPermissionSet.cs
- RadioButtonFlatAdapter.cs
- SoapEnumAttribute.cs
- IdnElement.cs
- ElementAtQueryOperator.cs
- ShaperBuffers.cs
- MissingSatelliteAssemblyException.cs
- SchemaNotation.cs
- LineGeometry.cs
- XmlReader.cs
- MetricEntry.cs
- linebase.cs
- ByteConverter.cs