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
- UserNameSecurityTokenParameters.cs
- WebConfigurationHost.cs
- VolatileEnlistmentState.cs
- ActivityMarkupSerializationProvider.cs
- Tile.cs
- LinkLabel.cs
- Predicate.cs
- Timer.cs
- SystemPens.cs
- EventEntry.cs
- Update.cs
- ProfileModule.cs
- ThreadWorkerController.cs
- Size3D.cs
- SecureStringHasher.cs
- DataGridPagerStyle.cs
- HttpProfileGroupBase.cs
- DataGridViewColumn.cs
- UDPClient.cs
- FileDialogCustomPlacesCollection.cs
- TreeView.cs
- ArithmeticLiteral.cs
- XmlBinaryReader.cs
- SamlDoNotCacheCondition.cs
- InvokeMethodDesigner.xaml.cs
- RankException.cs
- TdsValueSetter.cs
- Accessible.cs
- FontEmbeddingManager.cs
- InternalMappingException.cs
- WebContentFormatHelper.cs
- DataGridViewIntLinkedList.cs
- ConfigurationSectionGroup.cs
- ExpressionPrinter.cs
- EtwTrace.cs
- TrackBarRenderer.cs
- TabControlAutomationPeer.cs
- DataViewManager.cs
- SemanticKeyElement.cs
- CompilerTypeWithParams.cs
- MultiplexingFormatMapping.cs
- _CommandStream.cs
- BaseDataList.cs
- HWStack.cs
- MetadataCache.cs
- WebPartTransformer.cs
- pingexception.cs
- RevocationPoint.cs
- SpecialFolderEnumConverter.cs
- QEncodedStream.cs
- IIS7WorkerRequest.cs
- SHA512Managed.cs
- TextBoxLine.cs
- SchemaManager.cs
- HtmlTernaryTree.cs
- FlowLayoutSettings.cs
- XmlReaderSettings.cs
- FloatAverageAggregationOperator.cs
- MexServiceChannelBuilder.cs
- EventSourceCreationData.cs
- ParameterModifier.cs
- DataMemberConverter.cs
- SafePipeHandle.cs
- FrameworkRichTextComposition.cs
- ItemType.cs
- FixedPageProcessor.cs
- MaskedTextProvider.cs
- WsiProfilesElement.cs
- SafeCertificateStore.cs
- DbUpdateCommandTree.cs
- ConfigurationValues.cs
- MutexSecurity.cs
- ModelItemImpl.cs
- TextBoxAutoCompleteSourceConverter.cs
- DocumentReference.cs
- SudsParser.cs
- IEnumerable.cs
- TextSelectionHelper.cs
- BinaryFormatterWriter.cs
- _ConnectOverlappedAsyncResult.cs
- EntityWrapper.cs
- DataProtection.cs
- OleDbTransaction.cs
- EvidenceTypeDescriptor.cs
- QueryLifecycle.cs
- XmlSchemaSimpleContent.cs
- WorkflowLayouts.cs
- CachingHintValidation.cs
- _BaseOverlappedAsyncResult.cs
- ResourceManagerWrapper.cs
- WebPartPersonalization.cs
- ObjectDataSourceFilteringEventArgs.cs
- BinaryFormatterWriter.cs
- ProviderCommandInfoUtils.cs
- FastEncoder.cs
- TabControlDesigner.cs
- SqlServices.cs
- HtmlWindowCollection.cs
- PlatformCulture.cs
- MessageDecoder.cs