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
- XmlNullResolver.cs
- RootCodeDomSerializer.cs
- XomlCompilerParameters.cs
- SmiEventSink.cs
- RectKeyFrameCollection.cs
- WebEventCodes.cs
- DictionaryTraceRecord.cs
- SamlDoNotCacheCondition.cs
- Process.cs
- AttributeData.cs
- SmtpNegotiateAuthenticationModule.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- HttpHandlersSection.cs
- SignatureGenerator.cs
- DesignerForm.cs
- StickyNoteHelper.cs
- XmlAtomicValue.cs
- UserControl.cs
- AudioException.cs
- Emitter.cs
- GlobalProxySelection.cs
- NextPreviousPagerField.cs
- CookieHandler.cs
- XamlTemplateSerializer.cs
- CheckBoxList.cs
- DesignerDataSchemaClass.cs
- ProvideValueServiceProvider.cs
- ReflectTypeDescriptionProvider.cs
- LocalizableResourceBuilder.cs
- HostedTcpTransportManager.cs
- StopStoryboard.cs
- DataGridViewImageColumn.cs
- TableProvider.cs
- SchemaMerger.cs
- EdmItemCollection.cs
- StatusBarItem.cs
- StringFunctions.cs
- HttpProfileBase.cs
- FormsAuthenticationModule.cs
- NativeMethodsCLR.cs
- WebSysDefaultValueAttribute.cs
- Vector.cs
- NetworkInformationException.cs
- EventListenerClientSide.cs
- ChannelBinding.cs
- FieldNameLookup.cs
- RectAnimationUsingKeyFrames.cs
- ComAdminWrapper.cs
- OdbcErrorCollection.cs
- ClientClassGenerator.cs
- MimeTypeAttribute.cs
- Control.cs
- ClaimTypeElementCollection.cs
- TextInfo.cs
- NameValuePermission.cs
- Pair.cs
- TargetFrameworkUtil.cs
- DurableTimerExtension.cs
- TdsParameterSetter.cs
- Frame.cs
- AccessDataSource.cs
- HtmlTableCellCollection.cs
- ResourceBinder.cs
- FigureParaClient.cs
- PrtTicket_Public_Simple.cs
- ApplyTemplatesAction.cs
- HttpCapabilitiesBase.cs
- CurrentChangingEventManager.cs
- RenderCapability.cs
- XmlQualifiedName.cs
- ChangeConflicts.cs
- RtType.cs
- TogglePatternIdentifiers.cs
- DocumentEventArgs.cs
- StylusButtonCollection.cs
- ToolboxComponentsCreatingEventArgs.cs
- CollectionCodeDomSerializer.cs
- ByeOperation11AsyncResult.cs
- OrderPreservingSpoolingTask.cs
- CallTemplateAction.cs
- Variable.cs
- ApplicationFileParser.cs
- XmlQueryOutput.cs
- PackageRelationship.cs
- InplaceBitmapMetadataWriter.cs
- BamlTreeUpdater.cs
- UpWmlPageAdapter.cs
- DbException.cs
- CodeIndexerExpression.cs
- AsyncOperation.cs
- WorkflowViewStateService.cs
- TrustManager.cs
- PointAnimationUsingKeyFrames.cs
- DataGridCommandEventArgs.cs
- Rect3DConverter.cs
- IgnoreFlushAndCloseStream.cs
- ConfigXmlElement.cs
- TemplateBindingExtension.cs
- TraceShell.cs