Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntityDesign / 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.Entity.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 /// public ListAdditionalInterfaces { get { return this._additionalInterfaces; } } /// /// Members to be included in the new type's definition /// public ListAdditionalMembers { get { return this._additionalMembers; } } /// /// Attributes to be added to the property's CustomAttributes collection /// 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.Entity.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 /// public ListAdditionalInterfaces { get { return this._additionalInterfaces; } } /// /// Members to be included in the new type's definition /// public ListAdditionalMembers { get { return this._additionalMembers; } } /// /// Attributes to be added to the property's CustomAttributes collection /// 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
- CompatibleComparer.cs
- BmpBitmapEncoder.cs
- EventsTab.cs
- LocalizabilityAttribute.cs
- X509Certificate2.cs
- ReadOnlyCollectionBase.cs
- TableLayoutPanelDesigner.cs
- Error.cs
- XmlAttributes.cs
- WebPartChrome.cs
- StylusButtonCollection.cs
- XPathParser.cs
- StrokeNodeOperations.cs
- DetailsViewPageEventArgs.cs
- ScrollChrome.cs
- ValidationHelper.cs
- BypassElement.cs
- _ProxyChain.cs
- AddToCollection.cs
- Rect3D.cs
- Baml2006ReaderSettings.cs
- RelativeSource.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- UseLicense.cs
- RedirectionProxy.cs
- ModuleBuilder.cs
- XmlSerializer.cs
- PerspectiveCamera.cs
- mactripleDES.cs
- embossbitmapeffect.cs
- HandoffBehavior.cs
- LabelDesigner.cs
- DateTimeUtil.cs
- DoubleCollection.cs
- SessionStateModule.cs
- LZCodec.cs
- LinqDataSourceInsertEventArgs.cs
- PassportAuthenticationModule.cs
- DropDownButton.cs
- QueryPageSettingsEventArgs.cs
- SqlUtil.cs
- CapiSymmetricAlgorithm.cs
- CssTextWriter.cs
- PingReply.cs
- Debug.cs
- WebPermission.cs
- TargetInvocationException.cs
- EventRecordWrittenEventArgs.cs
- Binding.cs
- KernelTypeValidation.cs
- DesignerProperties.cs
- SecurityManager.cs
- COM2TypeInfoProcessor.cs
- EntityDataSourceSelectedEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- MatcherBuilder.cs
- Content.cs
- KeyValuePairs.cs
- _emptywebproxy.cs
- ClientUtils.cs
- CommandValueSerializer.cs
- GAC.cs
- CodeTypeReferenceCollection.cs
- localization.cs
- ButtonChrome.cs
- PersistNameAttribute.cs
- Int64Animation.cs
- Number.cs
- CheckBox.cs
- XmlNamespaceMapping.cs
- TransformConverter.cs
- XmlNodeReader.cs
- ObjectDataSourceStatusEventArgs.cs
- GroupByExpressionRewriter.cs
- DataObjectFieldAttribute.cs
- MulticastOption.cs
- pingexception.cs
- ZoneMembershipCondition.cs
- ColumnWidthChangedEvent.cs
- ButtonPopupAdapter.cs
- Propagator.Evaluator.cs
- Decimal.cs
- TextPatternIdentifiers.cs
- KeyNotFoundException.cs
- ObjectDataSourceView.cs
- MimeMultiPart.cs
- RoleGroup.cs
- DecoderNLS.cs
- BitmapFrameDecode.cs
- VisualStyleTypesAndProperties.cs
- DelegatingConfigHost.cs
- SoapReflector.cs
- MessageBodyMemberAttribute.cs
- UniqueCodeIdentifierScope.cs
- MessageBodyDescription.cs
- GridViewDeletedEventArgs.cs
- InvokeHandlers.cs
- WebPartDisplayModeCollection.cs
- ResourceProviderFactory.cs
- ReferenceService.cs