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
- OrthographicCamera.cs
- _NetRes.cs
- ScriptReferenceEventArgs.cs
- GridSplitterAutomationPeer.cs
- XamlRtfConverter.cs
- ToolTip.cs
- TypeConverterHelper.cs
- EventTrigger.cs
- StyleCollection.cs
- RNGCryptoServiceProvider.cs
- GroupStyle.cs
- FutureFactory.cs
- Int16.cs
- LinkLabelLinkClickedEvent.cs
- _AutoWebProxyScriptWrapper.cs
- FormParameter.cs
- HashHelper.cs
- StringArrayConverter.cs
- PageParserFilter.cs
- RawStylusInputReport.cs
- RemotingAttributes.cs
- SelectionWordBreaker.cs
- FontSizeConverter.cs
- FloaterBaseParagraph.cs
- FixUpCollection.cs
- ValidationVisibilityAttribute.cs
- ImageMapEventArgs.cs
- Directory.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ContextInformation.cs
- NonClientArea.cs
- CryptographicAttribute.cs
- BevelBitmapEffect.cs
- WriteTimeStream.cs
- XmlRootAttribute.cs
- CurrentChangingEventManager.cs
- LogManagementAsyncResult.cs
- HttpServerUtilityWrapper.cs
- CheckBoxStandardAdapter.cs
- NativeMethods.cs
- SerialErrors.cs
- DependencyObjectProvider.cs
- MobileControlsSection.cs
- TypeSystemProvider.cs
- __Error.cs
- HttpRuntimeSection.cs
- EmptyImpersonationContext.cs
- MemoryRecordBuffer.cs
- EnglishPluralizationService.cs
- DbParameterHelper.cs
- ChangeDirector.cs
- WorkflowValidationFailedException.cs
- ReferenceEqualityComparer.cs
- ScaleTransform.cs
- PropertyGrid.cs
- ClockController.cs
- DataSourceXmlSerializer.cs
- MetadataStore.cs
- CollaborationHelperFunctions.cs
- BufferedWebEventProvider.cs
- EndEvent.cs
- QueryConverter.cs
- LedgerEntryCollection.cs
- XmlSigningNodeWriter.cs
- DiscreteKeyFrames.cs
- COM2ExtendedBrowsingHandler.cs
- _NestedSingleAsyncResult.cs
- Substitution.cs
- AssociatedControlConverter.cs
- HtmlTextArea.cs
- DispatcherProcessingDisabled.cs
- PointConverter.cs
- _AcceptOverlappedAsyncResult.cs
- TableItemStyle.cs
- StringAnimationBase.cs
- ObjectAnimationBase.cs
- FillBehavior.cs
- GeneralTransform3DCollection.cs
- ProcessThreadCollection.cs
- basenumberconverter.cs
- GridEntry.cs
- BitStack.cs
- PropertyInfoSet.cs
- ValidationError.cs
- XPathDocumentNavigator.cs
- HtmlTableRow.cs
- TraceSection.cs
- MissingSatelliteAssemblyException.cs
- DataGridRowEventArgs.cs
- LinqToSqlWrapper.cs
- TogglePatternIdentifiers.cs
- GridView.cs
- prefixendpointaddressmessagefiltertable.cs
- CaretElement.cs
- HtmlInputImage.cs
- SymmetricSecurityBindingElement.cs
- DataGridPagerStyle.cs
- LazyInitializer.cs
- SettingsSection.cs
- ObjectCloneHelper.cs