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
- ThicknessAnimationBase.cs
- Renderer.cs
- TaskCanceledException.cs
- DataSetSchema.cs
- Thread.cs
- EntityCommandCompilationException.cs
- EntityParameter.cs
- SQLCharsStorage.cs
- SeekStoryboard.cs
- VirtualPathUtility.cs
- ColorAnimation.cs
- AnimationException.cs
- SecurityDescriptor.cs
- HttpResponseInternalBase.cs
- ViewValidator.cs
- ValidationRuleCollection.cs
- SchemaName.cs
- HtmlInputSubmit.cs
- ByeOperation11AsyncResult.cs
- DataPagerFieldCommandEventArgs.cs
- ModuleBuilderData.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- PathFigure.cs
- DefaultPropertyAttribute.cs
- ReflectEventDescriptor.cs
- DataControlImageButton.cs
- ScrollChrome.cs
- SimpleApplicationHost.cs
- SqlServices.cs
- ScriptingProfileServiceSection.cs
- AnimationClockResource.cs
- Animatable.cs
- OutputCacheEntry.cs
- XmlAttributeAttribute.cs
- ListControlConvertEventArgs.cs
- TimeStampChecker.cs
- ConfigXmlElement.cs
- ObjectSecurity.cs
- ToolStripLabel.cs
- AvtEvent.cs
- RoutedEventConverter.cs
- ObjectListItemCollection.cs
- PenThreadPool.cs
- OdbcConnectionPoolProviderInfo.cs
- EventProvider.cs
- HostingEnvironment.cs
- EventLogPermission.cs
- Viewport3DVisual.cs
- HuffCodec.cs
- WebUtility.cs
- DataListCommandEventArgs.cs
- Literal.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- Stylesheet.cs
- LogWriteRestartAreaState.cs
- IODescriptionAttribute.cs
- WindowsStatic.cs
- EventLogPermissionAttribute.cs
- FormsAuthentication.cs
- ModifiableIteratorCollection.cs
- SystemIPAddressInformation.cs
- XPathDescendantIterator.cs
- CodeAttributeArgument.cs
- Internal.cs
- XmlSchemaComplexContentRestriction.cs
- SqlBinder.cs
- PeerCredential.cs
- GeometryCollection.cs
- RowUpdatedEventArgs.cs
- ImageSource.cs
- WmlTextBoxAdapter.cs
- DateTime.cs
- SafeRegistryHandle.cs
- TextLineBreak.cs
- ByeOperationAsyncResult.cs
- SiteMapNodeItemEventArgs.cs
- BlurEffect.cs
- WebPartTransformer.cs
- OracleConnectionString.cs
- ClosableStream.cs
- CodeExpressionRuleDeclaration.cs
- BackgroundWorker.cs
- CodeGeneratorOptions.cs
- ModelPropertyCollectionImpl.cs
- XmlBinaryReader.cs
- COAUTHINFO.cs
- TextCompositionManager.cs
- SystemTcpStatistics.cs
- ImageKeyConverter.cs
- QilXmlReader.cs
- XmlWriter.cs
- TdsRecordBufferSetter.cs
- Internal.cs
- PageSetupDialog.cs
- CustomErrorCollection.cs
- Win32PrintDialog.cs
- DocumentOrderQuery.cs
- AssemblyName.cs
- DbSetClause.cs
- BindingsCollection.cs