Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / EntityModel / TypeGeneratedEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DBPropSet.cs
- BindingListCollectionView.cs
- ToolStripSystemRenderer.cs
- SubpageParagraph.cs
- SqlLiftWhereClauses.cs
- CellPartitioner.cs
- DPCustomTypeDescriptor.cs
- EraserBehavior.cs
- CacheSection.cs
- wgx_sdk_version.cs
- CriticalExceptions.cs
- PointHitTestParameters.cs
- SqlParameter.cs
- CodeTypeReferenceSerializer.cs
- XmlComplianceUtil.cs
- WebPartDisplayMode.cs
- iisPickupDirectory.cs
- CodeDirectionExpression.cs
- WeakReference.cs
- CryptoKeySecurity.cs
- CheckBoxField.cs
- LineInfo.cs
- ByteArrayHelperWithString.cs
- Transform.cs
- VersionedStream.cs
- RequiredAttributeAttribute.cs
- DataGridPageChangedEventArgs.cs
- UmAlQuraCalendar.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SqlBuffer.cs
- DynamicMethod.cs
- DataSourceControlBuilder.cs
- SecurityManager.cs
- XmlSecureResolver.cs
- ConfigurationSettings.cs
- HTMLTextWriter.cs
- DataSourceView.cs
- _ShellExpression.cs
- DataFormat.cs
- ContentHostHelper.cs
- ExtenderProvidedPropertyAttribute.cs
- ValidationHelpers.cs
- GroupBox.cs
- Location.cs
- ExtenderProvidedPropertyAttribute.cs
- DirectoryRootQuery.cs
- GenerateHelper.cs
- COM2Properties.cs
- SqlTopReducer.cs
- SqlBuilder.cs
- ProviderManager.cs
- DynamicActivityTypeDescriptor.cs
- DataGridItem.cs
- RegisterResponseInfo.cs
- XmlCountingReader.cs
- COAUTHINFO.cs
- dbenumerator.cs
- MarshalByValueComponent.cs
- BufferedReadStream.cs
- AppSettingsReader.cs
- SchemaHelper.cs
- AttributeCollection.cs
- WindowsToolbar.cs
- DesigntimeLicenseContextSerializer.cs
- ScriptingSectionGroup.cs
- ZipIOCentralDirectoryFileHeader.cs
- _SecureChannel.cs
- TextFormatterContext.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RuleSettingsCollection.cs
- DateRangeEvent.cs
- ConnectionConsumerAttribute.cs
- Walker.cs
- WSTrust.cs
- ControlFilterExpression.cs
- UserControl.cs
- QualificationDataAttribute.cs
- SafeNativeMethods.cs
- InputLanguageSource.cs
- Matrix3DConverter.cs
- FunctionNode.cs
- SuppressIldasmAttribute.cs
- ValuePatternIdentifiers.cs
- ToolStripSystemRenderer.cs
- UpdateEventArgs.cs
- MsiStyleLogWriter.cs
- ProtocolsSection.cs
- BackoffTimeoutHelper.cs
- arclist.cs
- RadioButtonRenderer.cs
- TrackBar.cs
- HtmlWindow.cs
- AudienceUriMode.cs
- MSG.cs
- DoubleCollectionValueSerializer.cs
- ReadingWritingEntityEventArgs.cs
- DeflateInput.cs
- AdvancedBindingPropertyDescriptor.cs
- DataProtection.cs
- GroupQuery.cs