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
- UnsignedPublishLicense.cs
- SqlMethods.cs
- DocumentViewerBaseAutomationPeer.cs
- RectAnimationUsingKeyFrames.cs
- ExcCanonicalXml.cs
- CollectionViewGroupRoot.cs
- BitmapEffectDrawingContent.cs
- MetafileHeader.cs
- CodeCatchClauseCollection.cs
- AccessDataSourceWizardForm.cs
- VBCodeProvider.cs
- DemultiplexingClientMessageFormatter.cs
- ArrayWithOffset.cs
- Region.cs
- RankException.cs
- IODescriptionAttribute.cs
- Transform.cs
- DataStorage.cs
- DecoderFallback.cs
- RtType.cs
- MimePart.cs
- WebConvert.cs
- DesignTimeTemplateParser.cs
- ExtractedStateEntry.cs
- FileStream.cs
- RuntimeConfig.cs
- EmptyEnumerator.cs
- MetadataReference.cs
- KeyValuePair.cs
- StrokeRenderer.cs
- SQLSingle.cs
- PriorityBinding.cs
- ConstructorExpr.cs
- RSAPKCS1SignatureFormatter.cs
- FormClosedEvent.cs
- SamlAuthorityBinding.cs
- SchemaTableOptionalColumn.cs
- TypedTableBaseExtensions.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DataGridViewImageCell.cs
- ScalarConstant.cs
- ResXDataNode.cs
- MemberAccessException.cs
- AttachedPropertyMethodSelector.cs
- DefaultPropertyAttribute.cs
- ArrangedElementCollection.cs
- XmlLoader.cs
- SessionStateSection.cs
- TrackPointCollection.cs
- ExceptionRoutedEventArgs.cs
- Content.cs
- unsafenativemethodsother.cs
- UpdateTranslator.cs
- PowerStatus.cs
- Root.cs
- DeclaredTypeValidatorAttribute.cs
- MailMessageEventArgs.cs
- SelectionRangeConverter.cs
- MetadataUtilsSmi.cs
- FormsAuthentication.cs
- SignatureHelper.cs
- QueryOptionExpression.cs
- OrderingInfo.cs
- ChoiceConverter.cs
- AppliesToBehaviorDecisionTable.cs
- WorkflowApplicationAbortedException.cs
- SafeFileMapViewHandle.cs
- PersonalizationDictionary.cs
- XPathDocumentIterator.cs
- FullTextLine.cs
- WebRequestModuleElement.cs
- DataContractSerializerServiceBehavior.cs
- ProviderSettingsCollection.cs
- DataTableMappingCollection.cs
- TypeElement.cs
- SessionStateContainer.cs
- ExtenderProvidedPropertyAttribute.cs
- NameTable.cs
- SemaphoreSecurity.cs
- CngKeyCreationParameters.cs
- embossbitmapeffect.cs
- Directory.cs
- ControlDesigner.cs
- MatrixAnimationUsingPath.cs
- ResXResourceWriter.cs
- Translator.cs
- DynamicArgumentDesigner.xaml.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ParseChildrenAsPropertiesAttribute.cs
- BufferedReadStream.cs
- CodeArgumentReferenceExpression.cs
- ImageInfo.cs
- ColumnReorderedEventArgs.cs
- ExceptQueryOperator.cs
- XAMLParseException.cs
- ActivityScheduledRecord.cs
- NonDualMessageSecurityOverHttpElement.cs
- GatewayDefinition.cs
- Accessors.cs
- PtsContext.cs