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
- HandleTable.cs
- GeneralTransformCollection.cs
- ComboBoxItem.cs
- HotSpotCollectionEditor.cs
- DrawingContextDrawingContextWalker.cs
- DateBoldEvent.cs
- VisualStateGroup.cs
- CaseInsensitiveHashCodeProvider.cs
- WmfPlaceableFileHeader.cs
- AspProxy.cs
- ConfigXmlText.cs
- ObjectViewQueryResultData.cs
- XmlNodeList.cs
- SmtpTransport.cs
- TimerElapsedEvenArgs.cs
- SerializationException.cs
- ItemDragEvent.cs
- TextBoxAutomationPeer.cs
- InitializationEventAttribute.cs
- AssociationSetEnd.cs
- CapacityStreamGeometryContext.cs
- RepeatEnumerable.cs
- TypeFieldSchema.cs
- DataControlFieldHeaderCell.cs
- SoapSchemaExporter.cs
- Int32EqualityComparer.cs
- WebPartsPersonalization.cs
- SyndicationItemFormatter.cs
- CodeSnippetTypeMember.cs
- ColumnMapVisitor.cs
- IteratorFilter.cs
- PowerStatus.cs
- TagMapCollection.cs
- EntityDataSourceQueryBuilder.cs
- UrlParameterWriter.cs
- DesignerWithHeader.cs
- SurrogateDataContract.cs
- SafeReadContext.cs
- ComAwareEventInfo.cs
- _StreamFramer.cs
- ChangeBlockUndoRecord.cs
- TreeNodeClickEventArgs.cs
- FileDialog.cs
- Rect3D.cs
- ProxyGenerator.cs
- TypeUtils.cs
- IIS7WorkerRequest.cs
- PlanCompilerUtil.cs
- NumberAction.cs
- SamlAdvice.cs
- AppDomainManager.cs
- WebPartDisplayModeEventArgs.cs
- Stack.cs
- PageBuildProvider.cs
- BoundPropertyEntry.cs
- SamlSecurityToken.cs
- LifetimeServices.cs
- InputScope.cs
- DiffuseMaterial.cs
- ColorTranslator.cs
- CodeBlockBuilder.cs
- LinearKeyFrames.cs
- DescendantBaseQuery.cs
- ListBindingHelper.cs
- MULTI_QI.cs
- FlowDocumentPage.cs
- WaitHandle.cs
- Memoizer.cs
- DataGridViewDataConnection.cs
- Run.cs
- XmlDocumentSurrogate.cs
- DataStorage.cs
- SqlTypeConverter.cs
- SourceFileInfo.cs
- EmptyQuery.cs
- Condition.cs
- PointCollection.cs
- DaylightTime.cs
- AssertFilter.cs
- DispatcherFrame.cs
- ImageButton.cs
- OpenTypeCommon.cs
- ComPersistableTypeElement.cs
- SafeEventLogWriteHandle.cs
- LicenseProviderAttribute.cs
- CodeConditionStatement.cs
- SpellerError.cs
- DataGridRowHeader.cs
- DataDocumentXPathNavigator.cs
- MemberMemberBinding.cs
- ConsumerConnectionPoint.cs
- ChangeNode.cs
- PiiTraceSource.cs
- DataBindingCollection.cs
- ExtentKey.cs
- TagPrefixInfo.cs
- SerialStream.cs
- MobileSysDescriptionAttribute.cs
- OrderedDictionaryStateHelper.cs
- SerTrace.cs