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
- Action.cs
- CompModSwitches.cs
- SqlParameter.cs
- HtmlElement.cs
- WebHttpBindingCollectionElement.cs
- OleDbParameter.cs
- EntityTransaction.cs
- ThumbAutomationPeer.cs
- LocatorManager.cs
- HierarchicalDataBoundControlAdapter.cs
- GlyphingCache.cs
- Int32Converter.cs
- InfoCardBinaryReader.cs
- BindableTemplateBuilder.cs
- DataGridItem.cs
- SingleResultAttribute.cs
- XsdDataContractExporter.cs
- XmlAttribute.cs
- FigureHelper.cs
- TextDecoration.cs
- CommonBehaviorsSection.cs
- BuilderPropertyEntry.cs
- Constraint.cs
- ContainerSelectorBehavior.cs
- TraceHandler.cs
- DbConnectionPoolGroupProviderInfo.cs
- SourceFilter.cs
- ConfigXmlText.cs
- MessageHeaders.cs
- PersonalizationProviderCollection.cs
- TabControlEvent.cs
- OleDbRowUpdatedEvent.cs
- ColorBuilder.cs
- shaper.cs
- SqlResolver.cs
- DesignerVerbCollection.cs
- RelatedImageListAttribute.cs
- StateRuntime.cs
- AnnotationAuthorChangedEventArgs.cs
- XmlSchemaRedefine.cs
- PermissionSet.cs
- GregorianCalendarHelper.cs
- XmlDocumentFragment.cs
- CaseInsensitiveHashCodeProvider.cs
- TreeNodeCollection.cs
- WindowsTooltip.cs
- EnumerableRowCollectionExtensions.cs
- DeflateStream.cs
- OleDbWrapper.cs
- RichTextBox.cs
- VerificationException.cs
- ListParagraph.cs
- CodeMemberEvent.cs
- RowBinding.cs
- ToolStripItemClickedEventArgs.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlFormatExtensionAttribute.cs
- DataGridViewEditingControlShowingEventArgs.cs
- WebDescriptionAttribute.cs
- DescendantQuery.cs
- SecurityToken.cs
- SqlDataSourceQueryConverter.cs
- PointCollectionValueSerializer.cs
- SafeEventHandle.cs
- CollectionBuilder.cs
- OleAutBinder.cs
- ADMembershipUser.cs
- Baml6ConstructorInfo.cs
- SqlUtils.cs
- TypefaceCollection.cs
- IconHelper.cs
- Rect3DValueSerializer.cs
- Table.cs
- TraceSection.cs
- ColumnMap.cs
- WebDisplayNameAttribute.cs
- StateValidator.cs
- AutomationPropertyInfo.cs
- CodeTypeOfExpression.cs
- RectValueSerializer.cs
- EntityException.cs
- BaseResourcesBuildProvider.cs
- StorageMappingFragment.cs
- SaveWorkflowAsyncResult.cs
- CompressedStack.cs
- ToRequest.cs
- NameValueConfigurationElement.cs
- ReflectEventDescriptor.cs
- TextSegment.cs
- MasterPageCodeDomTreeGenerator.cs
- SqlAliasesReferenced.cs
- ShaderEffect.cs
- StringUtil.cs
- RuleRefElement.cs
- Encoder.cs
- URLBuilder.cs
- KeyFrames.cs
- XmlEncApr2001.cs
- RoleService.cs
- CssClassPropertyAttribute.cs