Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / CellLabel.cs / 1 / 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
- OdbcException.cs
- ShutDownListener.cs
- ZipIOExtraFieldZip64Element.cs
- OdbcRowUpdatingEvent.cs
- SqlTypeSystemProvider.cs
- ConfigXmlElement.cs
- CreateUserWizardStep.cs
- SqlFlattener.cs
- BlurBitmapEffect.cs
- ConstNode.cs
- _HelperAsyncResults.cs
- SystemIcmpV4Statistics.cs
- precedingquery.cs
- LexicalChunk.cs
- SortQuery.cs
- FullTrustAssembly.cs
- GroupedContextMenuStrip.cs
- FileSecurity.cs
- CodeExporter.cs
- AgileSafeNativeMemoryHandle.cs
- RoleGroup.cs
- SHA1Managed.cs
- WebEventCodes.cs
- DbConnectionOptions.cs
- _HelperAsyncResults.cs
- EntityDataSourceColumn.cs
- ComponentDispatcherThread.cs
- ScriptingWebServicesSectionGroup.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ConstNode.cs
- MetadataItemCollectionFactory.cs
- FilteredXmlReader.cs
- UnsafeMethods.cs
- FormatterConverter.cs
- LoggedException.cs
- HtmlMeta.cs
- TrackingSection.cs
- QueuedDeliveryRequirementsMode.cs
- AsyncResult.cs
- NamespaceDisplay.xaml.cs
- SegmentInfo.cs
- Speller.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataGridViewColumnHeaderCell.cs
- XmlSchemaComplexContentRestriction.cs
- DisplayInformation.cs
- ToolBarButton.cs
- XmlSchemaDatatype.cs
- ShapingWorkspace.cs
- PixelFormatConverter.cs
- StructuralCache.cs
- IBuiltInEvidence.cs
- Column.cs
- NavigatorInput.cs
- UriWriter.cs
- AppDomainUnloadedException.cs
- EnumCodeDomSerializer.cs
- HtmlEncodedRawTextWriter.cs
- TextElementEditingBehaviorAttribute.cs
- ProgressChangedEventArgs.cs
- GPPOINT.cs
- GenericIdentity.cs
- NativeMethods.cs
- ImageMetadata.cs
- JumpPath.cs
- MarkupObject.cs
- StylusShape.cs
- coordinatorscratchpad.cs
- VirtualizingPanel.cs
- HeaderLabel.cs
- EventArgs.cs
- MutexSecurity.cs
- RawMouseInputReport.cs
- GetLastErrorDetailsRequest.cs
- HtmlString.cs
- codemethodreferenceexpression.cs
- RelationshipFixer.cs
- WinCategoryAttribute.cs
- XmlNodeList.cs
- CheckBox.cs
- DateTimePickerDesigner.cs
- AnnotationService.cs
- ProcessHost.cs
- EditBehavior.cs
- MouseActionConverter.cs
- TextEffect.cs
- Color.cs
- FactoryMaker.cs
- EntityDataSourceStatementEditor.cs
- WpfXamlMember.cs
- XamlSerializer.cs
- EventPrivateKey.cs
- FreezableCollection.cs
- UInt16Storage.cs
- TypeRefElement.cs
- HideDisabledControlAdapter.cs
- ProcessThreadCollection.cs
- ParameterModifier.cs
- IWorkflowDebuggerService.cs
- AppDomainFactory.cs