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
- Number.cs
- PropertyEmitter.cs
- SoapInteropTypes.cs
- StoreUtilities.cs
- DataRowChangeEvent.cs
- UnsafeNativeMethods.cs
- SqlRowUpdatedEvent.cs
- translator.cs
- RegionData.cs
- XsltCompileContext.cs
- CrossContextChannel.cs
- SqlConnectionManager.cs
- ColorComboBox.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ExpandableObjectConverter.cs
- AsyncPostBackTrigger.cs
- CollectionConverter.cs
- GeneralTransform3D.cs
- DataControlField.cs
- HyperLinkStyle.cs
- ColumnMap.cs
- TypeInfo.cs
- DoubleConverter.cs
- LinkClickEvent.cs
- HttpConfigurationSystem.cs
- XmlILModule.cs
- SimpleTextLine.cs
- AutomationProperties.cs
- PagesSection.cs
- SQLGuidStorage.cs
- View.cs
- DoubleConverter.cs
- WebControlParameterProxy.cs
- HttpListenerContext.cs
- DetailsViewPageEventArgs.cs
- DefaultPropertiesToSend.cs
- CodeBinaryOperatorExpression.cs
- MetadataItemCollectionFactory.cs
- SpeechRecognizer.cs
- ActivityDesigner.cs
- Base64Decoder.cs
- SecurityCriticalDataForSet.cs
- GPRECT.cs
- iisPickupDirectory.cs
- LogFlushAsyncResult.cs
- SiteOfOriginPart.cs
- PermissionSetEnumerator.cs
- CodeSnippetCompileUnit.cs
- SQLCharsStorage.cs
- WindowsTab.cs
- ErrorHandler.cs
- FixedDocumentSequencePaginator.cs
- ParsedAttributeCollection.cs
- RegexInterpreter.cs
- ApplicationInfo.cs
- CookieHandler.cs
- CqlLexerHelpers.cs
- GeneratedView.cs
- EncoderNLS.cs
- TableLayoutStyleCollection.cs
- DataGridAutoFormat.cs
- TabControl.cs
- DocumentViewerHelper.cs
- StatusStrip.cs
- PropertyDescriptorComparer.cs
- HttpCapabilitiesSectionHandler.cs
- WorkflowViewStateService.cs
- GridViewColumnHeader.cs
- SmtpNegotiateAuthenticationModule.cs
- DbConnectionInternal.cs
- CodeSnippetTypeMember.cs
- XmlDeclaration.cs
- _Connection.cs
- EventItfInfo.cs
- InstanceCollisionException.cs
- SpeakProgressEventArgs.cs
- SynchronizedKeyedCollection.cs
- QueryContinueDragEventArgs.cs
- DiscoveryDocument.cs
- XpsFixedDocumentReaderWriter.cs
- AdornedElementPlaceholder.cs
- ConstantExpression.cs
- TokenBasedSetEnumerator.cs
- KnownBoxes.cs
- XmlNavigatorFilter.cs
- LabelAutomationPeer.cs
- CatalogPartChrome.cs
- WebResponse.cs
- QueryGeneratorBase.cs
- ToolBarOverflowPanel.cs
- DocumentGridPage.cs
- SchemaElementDecl.cs
- AttributeTable.cs
- ComponentCodeDomSerializer.cs
- FormClosingEvent.cs
- RenderingBiasValidation.cs
- HuffModule.cs
- DoubleStorage.cs
- UInt32.cs
- ServiceTimeoutsBehavior.cs