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
- MinMaxParagraphWidth.cs
- GeneralTransform.cs
- SettingsAttributes.cs
- SByteStorage.cs
- MD5CryptoServiceProvider.cs
- UTF32Encoding.cs
- MouseCaptureWithinProperty.cs
- BrowserCapabilitiesCompiler.cs
- URIFormatException.cs
- SynchronizationScope.cs
- CultureInfoConverter.cs
- CodeMemberMethod.cs
- UriScheme.cs
- FixedFindEngine.cs
- _ConnectStream.cs
- NumberSubstitution.cs
- AncillaryOps.cs
- HandlerMappingMemo.cs
- DynamicContractTypeBuilder.cs
- ServiceInfo.cs
- DisplayInformation.cs
- DeviceContext2.cs
- SecurityIdentifierElementCollection.cs
- DrawListViewSubItemEventArgs.cs
- EntityDataSourceStatementEditorForm.cs
- TokenDescriptor.cs
- CodeObject.cs
- ThicknessAnimationBase.cs
- SizeAnimationBase.cs
- TTSEngineTypes.cs
- ImageListUtils.cs
- Action.cs
- SerializationSectionGroup.cs
- CellQuery.cs
- Exception.cs
- WebPartEditorOkVerb.cs
- UserPreferenceChangedEventArgs.cs
- SortQuery.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Application.cs
- EditingMode.cs
- SqlInternalConnectionTds.cs
- OracleConnectionStringBuilder.cs
- CipherData.cs
- XhtmlBasicValidatorAdapter.cs
- Window.cs
- BitmapEffectGeneralTransform.cs
- XmlSchemaObjectTable.cs
- DispatcherHookEventArgs.cs
- AssemblyInfo.cs
- CompletedAsyncResult.cs
- Vector3DCollectionConverter.cs
- QueryContinueDragEvent.cs
- RuntimeCompatibilityAttribute.cs
- HandlerBase.cs
- TreeWalker.cs
- FileClassifier.cs
- CommandDevice.cs
- securestring.cs
- ApplicationActivator.cs
- DrawingGroup.cs
- ArraySortHelper.cs
- MultipartIdentifier.cs
- ImageButton.cs
- sqlinternaltransaction.cs
- UrlPath.cs
- COM2EnumConverter.cs
- _NestedMultipleAsyncResult.cs
- Span.cs
- DeclaredTypeElement.cs
- CodeSnippetExpression.cs
- HttpListenerContext.cs
- ArraySet.cs
- ObjectDataSource.cs
- EntitySqlException.cs
- GuidTagList.cs
- AuthorizationSection.cs
- AsymmetricAlgorithm.cs
- FormView.cs
- ValueConversionAttribute.cs
- FamilyMapCollection.cs
- TreeView.cs
- MDIWindowDialog.cs
- ProtectedConfiguration.cs
- ResourcesBuildProvider.cs
- RelatedPropertyManager.cs
- HostedBindingBehavior.cs
- ExpressionBindingsDialog.cs
- AssociationTypeEmitter.cs
- SynchronizingStream.cs
- ByteStorage.cs
- EmptyElement.cs
- TableItemProviderWrapper.cs
- MailMessage.cs
- SpellerHighlightLayer.cs
- CustomAttribute.cs
- SecurityToken.cs
- DataGridViewAccessibleObject.cs
- mansign.cs
- DBSchemaTable.cs