Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Design / system / Data / EntityModel / TypeGeneratedEventArgs.cs / 1 / TypeGeneratedEventArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Data; using System.CodeDom; using System.Collections.Generic; using System.Data.Metadata.Edm; using System.Diagnostics; namespace System.Data.Services.Design { ////// This class encapsulates the EventArgs dispatched as part of the event /// raised when a type is generated. /// public sealed class TypeGeneratedEventArgs : EventArgs { #region Private Data private GlobalItem _typeSource; private CodeTypeReference _baseType; private List_additionalInterfaces = new List (); private List _additionalMembers = new List (); private List _additionalAttributes = new List (); #endregion #region Constructors /// /// Default constructor /// public TypeGeneratedEventArgs() { } ////// Constructor /// /// The source of the event /// The base type of the type being generated public TypeGeneratedEventArgs(GlobalItem typeSource, CodeTypeReference baseType) { this._typeSource = typeSource; this._baseType = baseType; } #endregion #region Properties public GlobalItem TypeSource { get { return this._typeSource; } } ////// The type appropriate for the TypeSource /// public CodeTypeReference BaseType { get { return this._baseType; } set { this._baseType = value; } } ////// Interfaces to be included in the new type's definition /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalInterfaces { get { return this._additionalInterfaces; } } /// /// Members to be included in the new type's definition /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalMembers { get { return this._additionalMembers; } } /// /// Attributes to be added to the property's CustomAttributes collection /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalAttributes { get { return this._additionalAttributes; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Data; using System.CodeDom; using System.Collections.Generic; using System.Data.Metadata.Edm; using System.Diagnostics; namespace System.Data.Services.Design { ////// This class encapsulates the EventArgs dispatched as part of the event /// raised when a type is generated. /// public sealed class TypeGeneratedEventArgs : EventArgs { #region Private Data private GlobalItem _typeSource; private CodeTypeReference _baseType; private List_additionalInterfaces = new List (); private List _additionalMembers = new List (); private List _additionalAttributes = new List (); #endregion #region Constructors /// /// Default constructor /// public TypeGeneratedEventArgs() { } ////// Constructor /// /// The source of the event /// The base type of the type being generated public TypeGeneratedEventArgs(GlobalItem typeSource, CodeTypeReference baseType) { this._typeSource = typeSource; this._baseType = baseType; } #endregion #region Properties public GlobalItem TypeSource { get { return this._typeSource; } } ////// The type appropriate for the TypeSource /// public CodeTypeReference BaseType { get { return this._baseType; } set { this._baseType = value; } } ////// Interfaces to be included in the new type's definition /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalInterfaces { get { return this._additionalInterfaces; } } /// /// Members to be included in the new type's definition /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalMembers { get { return this._additionalMembers; } } /// /// Attributes to be added to the property's CustomAttributes collection /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002", Justification = "Same as System.Data.Entity.Design")] public ListAdditionalAttributes { get { return this._additionalAttributes; } } #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
- objectquery_tresulttype.cs
- Decimal.cs
- CallContext.cs
- DllNotFoundException.cs
- LeaseManager.cs
- DataViewManagerListItemTypeDescriptor.cs
- FormatControl.cs
- TPLETWProvider.cs
- StringResourceManager.cs
- DataRowExtensions.cs
- WebMessageEncodingElement.cs
- DataGridViewElement.cs
- GenericWebPart.cs
- InputEventArgs.cs
- ClrProviderManifest.cs
- HtmlElement.cs
- TreeNodeSelectionProcessor.cs
- UnsettableComboBox.cs
- ApplicationCommands.cs
- TrustManagerMoreInformation.cs
- ComPlusInstanceProvider.cs
- PreviewPageInfo.cs
- LocalizationParserHooks.cs
- GlyphManager.cs
- Ref.cs
- XmlReader.cs
- EventData.cs
- RayMeshGeometry3DHitTestResult.cs
- LabelLiteral.cs
- UnsafeNativeMethods.cs
- CompiledXpathExpr.cs
- TreeViewCancelEvent.cs
- NativeMethods.cs
- XPathSelfQuery.cs
- Compilation.cs
- MethodExpression.cs
- KeyFrames.cs
- ListViewGroupConverter.cs
- HttpRequest.cs
- FigureParagraph.cs
- InternalBufferOverflowException.cs
- ApplicationServiceHelper.cs
- XsltLoader.cs
- CodeCommentStatementCollection.cs
- ExportException.cs
- Globals.cs
- WebPartConnectionsConnectVerb.cs
- StopStoryboard.cs
- documentation.cs
- HttpRuntime.cs
- EnumType.cs
- SessionEndingEventArgs.cs
- InputScopeConverter.cs
- DataKeyArray.cs
- CallSiteHelpers.cs
- GPStream.cs
- _CacheStreams.cs
- PenThreadPool.cs
- QueueProcessor.cs
- DbDataAdapter.cs
- MenuItemCollection.cs
- RegexReplacement.cs
- BamlRecords.cs
- EmbeddedMailObjectsCollection.cs
- PresentationUIStyleResources.cs
- Code.cs
- MethodImplAttribute.cs
- ManifestSignedXml.cs
- RoutingUtilities.cs
- FloaterParaClient.cs
- _SSPISessionCache.cs
- PermissionSetTriple.cs
- Figure.cs
- SafeRightsManagementQueryHandle.cs
- WindowsListViewScroll.cs
- Screen.cs
- QueryParameter.cs
- ListSortDescription.cs
- HostedNamedPipeTransportManager.cs
- Function.cs
- HtmlInputText.cs
- Convert.cs
- oledbconnectionstring.cs
- LifetimeMonitor.cs
- _ScatterGatherBuffers.cs
- ToolStripContainer.cs
- XmlLinkedNode.cs
- SerTrace.cs
- DoubleAnimationUsingPath.cs
- UIInitializationException.cs
- Style.cs
- ClientRoleProvider.cs
- InvokeProviderWrapper.cs
- MouseGesture.cs
- ServiceModelSecurityTokenTypes.cs
- StylusShape.cs
- RijndaelManagedTransform.cs
- WebConfigurationHost.cs
- CodeTypeOfExpression.cs
- SqlParameter.cs