Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ServiceChannel.cs
- XsdDuration.cs
- CodeVariableDeclarationStatement.cs
- RawAppCommandInputReport.cs
- VersionPair.cs
- Stacktrace.cs
- Signature.cs
- SqlClientWrapperSmiStream.cs
- TypedDataSourceCodeGenerator.cs
- SystemBrushes.cs
- DNS.cs
- WorkflowMarkupSerializationManager.cs
- EmbossBitmapEffect.cs
- AutoSizeToolBoxItem.cs
- _ProxyRegBlob.cs
- Hash.cs
- CustomAttributeFormatException.cs
- AutomationPropertyInfo.cs
- StorageComplexTypeMapping.cs
- TreeNodeCollection.cs
- DataSourceCacheDurationConverter.cs
- HtmlElementCollection.cs
- _CookieModule.cs
- BrowserCapabilitiesCodeGenerator.cs
- DataComponentNameHandler.cs
- StartUpEventArgs.cs
- MemoryMappedViewAccessor.cs
- UnmanagedMarshal.cs
- TextRangeEditLists.cs
- ModelProperty.cs
- QilExpression.cs
- SafeBitVector32.cs
- SoapElementAttribute.cs
- sqlcontext.cs
- ActivityStateQuery.cs
- TextEditorThreadLocalStore.cs
- HtmlTableRow.cs
- KoreanLunisolarCalendar.cs
- DataContractSerializerOperationGenerator.cs
- ItemDragEvent.cs
- GridView.cs
- FloaterParaClient.cs
- QuaternionIndependentAnimationStorage.cs
- SoapHelper.cs
- ModuleBuilder.cs
- CompressEmulationStream.cs
- WeakEventTable.cs
- ToolStripHighContrastRenderer.cs
- IntSecurity.cs
- User.cs
- CookieParameter.cs
- Baml2006ReaderContext.cs
- TextureBrush.cs
- OciHandle.cs
- EntryWrittenEventArgs.cs
- XmlObjectSerializerReadContext.cs
- SQLCharsStorage.cs
- RotateTransform.cs
- InternalCache.cs
- OutputWindow.cs
- SoapExtension.cs
- CompilationSection.cs
- ProjectionPlan.cs
- EmbeddedMailObjectsCollection.cs
- UMPAttributes.cs
- CodeTypeOfExpression.cs
- UnicastIPAddressInformationCollection.cs
- DefaultEventAttribute.cs
- ListBindableAttribute.cs
- _LocalDataStoreMgr.cs
- UInt64Converter.cs
- XsltFunctions.cs
- TiffBitmapEncoder.cs
- StorageComplexTypeMapping.cs
- SqlServices.cs
- QilReference.cs
- ObjectConverter.cs
- LicenseContext.cs
- InputDevice.cs
- APCustomTypeDescriptor.cs
- UserControl.cs
- ImageBrush.cs
- ArraySubsetEnumerator.cs
- EmptyControlCollection.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- EnvironmentPermission.cs
- ScriptingRoleServiceSection.cs
- StackBuilderSink.cs
- WmlTextViewAdapter.cs
- MatchingStyle.cs
- CheckBoxAutomationPeer.cs
- SQLInt64Storage.cs
- PointLight.cs
- Char.cs
- StringUtil.cs
- ParameterElementCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ParentQuery.cs
- CommonObjectSecurity.cs
- ListItemCollection.cs