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
- MenuItemAutomationPeer.cs
- WebBrowser.cs
- TextEffect.cs
- XmlHierarchyData.cs
- CaseStatementSlot.cs
- SessionEndingEventArgs.cs
- DeferredTextReference.cs
- FieldToken.cs
- TemplatePartAttribute.cs
- EventLogInformation.cs
- CodeCommentStatementCollection.cs
- DataGridCaption.cs
- PolicyValidationException.cs
- DataSourceSelectArguments.cs
- TCPClient.cs
- InertiaTranslationBehavior.cs
- HttpListenerPrefixCollection.cs
- TypeTypeConverter.cs
- PartitionedStreamMerger.cs
- FamilyTypeface.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- QilStrConcat.cs
- UpdatePanelTriggerCollection.cs
- InvokeMethodActivity.cs
- ManagementObjectSearcher.cs
- AndMessageFilterTable.cs
- InvokeGenerator.cs
- AnnotationResourceCollection.cs
- DbProviderConfigurationHandler.cs
- TextElementCollectionHelper.cs
- SrgsNameValueTag.cs
- PointLight.cs
- TreeIterator.cs
- Comparer.cs
- PerformanceCounterPermission.cs
- Stroke.cs
- Signature.cs
- ProviderMetadata.cs
- AppDomainManager.cs
- TextFragmentEngine.cs
- CacheMode.cs
- InheritanceUI.cs
- NullableDecimalSumAggregationOperator.cs
- XmlSignificantWhitespace.cs
- GraphicsState.cs
- AttributeXamlType.cs
- DBPropSet.cs
- ArraySortHelper.cs
- UiaCoreTypesApi.cs
- CapabilitiesPattern.cs
- SortDescription.cs
- XsltException.cs
- HtmlInputText.cs
- MasterPageParser.cs
- OleDbConnectionInternal.cs
- DbReferenceCollection.cs
- WebDisplayNameAttribute.cs
- GPStream.cs
- SecurityListenerSettingsLifetimeManager.cs
- Event.cs
- TransactionBridge.cs
- CodeBinaryOperatorExpression.cs
- QilReplaceVisitor.cs
- EncoderParameters.cs
- TraceInternal.cs
- PrintDialogDesigner.cs
- ParseHttpDate.cs
- RuleSettingsCollection.cs
- GPRECTF.cs
- DeferredTextReference.cs
- Error.cs
- ObservableCollectionDefaultValueFactory.cs
- StagingAreaInputItem.cs
- RuntimeHandles.cs
- DescendantQuery.cs
- EndpointInstanceProvider.cs
- EastAsianLunisolarCalendar.cs
- ExpandSegment.cs
- NeedSkipTokenVisitor.cs
- DiscriminatorMap.cs
- XmlSchemaAnnotation.cs
- XmlSchemas.cs
- XsltConvert.cs
- Executor.cs
- PointAnimationClockResource.cs
- PrintController.cs
- ComplusTypeValidator.cs
- HwndStylusInputProvider.cs
- M3DUtil.cs
- PackageFilter.cs
- DataGridColumnDropSeparator.cs
- WebPartMenu.cs
- QueueException.cs
- ClientTargetCollection.cs
- UIElementAutomationPeer.cs
- EndpointConfigContainer.cs
- XmlProcessingInstruction.cs
- QilLiteral.cs
- UserControlCodeDomTreeGenerator.cs
- PasswordRecovery.cs