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
- SafePEFileHandle.cs
- storepermission.cs
- AuthenticatingEventArgs.cs
- ConsumerConnectionPointCollection.cs
- VerbConverter.cs
- DetailsViewDeletedEventArgs.cs
- Unit.cs
- ConfigXmlCDataSection.cs
- CalendarAutoFormatDialog.cs
- DisplayMemberTemplateSelector.cs
- XsdDuration.cs
- ConstantSlot.cs
- NestedContainer.cs
- XhtmlBasicPanelAdapter.cs
- TagPrefixAttribute.cs
- MenuAdapter.cs
- SelectorAutomationPeer.cs
- Shape.cs
- DependencyPropertyAttribute.cs
- PortCache.cs
- AsnEncodedData.cs
- ProviderCollection.cs
- AdapterDictionary.cs
- DataComponentNameHandler.cs
- ProcessRequestArgs.cs
- ErrorEventArgs.cs
- CatalogPartCollection.cs
- InstanceData.cs
- AutomationElement.cs
- FormatterConverter.cs
- SymmetricCryptoHandle.cs
- TextProperties.cs
- FileDialog.cs
- ViewPort3D.cs
- securitymgrsite.cs
- AssociatedControlConverter.cs
- StrokeRenderer.cs
- Int32CAMarshaler.cs
- RC2CryptoServiceProvider.cs
- XXXOnTypeBuilderInstantiation.cs
- BooleanToVisibilityConverter.cs
- Zone.cs
- NonParentingControl.cs
- XXXOnTypeBuilderInstantiation.cs
- SequenceNumber.cs
- EnterpriseServicesHelper.cs
- ListBindingConverter.cs
- ListBindingHelper.cs
- XamlPointCollectionSerializer.cs
- EncoderReplacementFallback.cs
- PassportAuthenticationEventArgs.cs
- QueryOperator.cs
- Automation.cs
- UnknownWrapper.cs
- CorrelationManager.cs
- MouseGestureValueSerializer.cs
- WmlPageAdapter.cs
- DocumentSchemaValidator.cs
- BindStream.cs
- ResourceReferenceExpressionConverter.cs
- CodeIterationStatement.cs
- ValidationSummary.cs
- DurableEnlistmentState.cs
- MouseActionValueSerializer.cs
- SpeechEvent.cs
- MediaContextNotificationWindow.cs
- HttpFileCollection.cs
- Normalization.cs
- StaticTextPointer.cs
- DesignerSerializationVisibilityAttribute.cs
- Helper.cs
- MetadataItemSerializer.cs
- SystemWebSectionGroup.cs
- CrossAppDomainChannel.cs
- UrlMapping.cs
- Button.cs
- PageAsyncTask.cs
- WinInetCache.cs
- RefreshEventArgs.cs
- LeftCellWrapper.cs
- SelectingProviderEventArgs.cs
- SqlBulkCopy.cs
- IItemContainerGenerator.cs
- DiscoveryEndpointElement.cs
- PeerResolverElement.cs
- DataDocumentXPathNavigator.cs
- DataKey.cs
- MarkupExtensionParser.cs
- BehaviorService.cs
- RegisteredArrayDeclaration.cs
- VirtualPathUtility.cs
- ExceptionHandler.cs
- SettingsProviderCollection.cs
- ReadOnlyCollectionBuilder.cs
- StreamReader.cs
- RSAProtectedConfigurationProvider.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- NamespaceDisplay.xaml.cs
- ProcessHostConfigUtils.cs
- BufferCache.cs