Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ImportContext.cs
- EditorResources.cs
- ThreadPoolTaskScheduler.cs
- ServicesUtilities.cs
- TrailingSpaceComparer.cs
- FormatStringEditor.cs
- MessageQueueEnumerator.cs
- GlobalizationSection.cs
- clipboard.cs
- HistoryEventArgs.cs
- ScrollData.cs
- Brush.cs
- SmiXetterAccessMap.cs
- CodeSnippetStatement.cs
- AppDomainManager.cs
- PolicyManager.cs
- ApplicationManager.cs
- DomainUpDown.cs
- ValidationEventArgs.cs
- NextPreviousPagerField.cs
- CachedFontFace.cs
- ListViewSelectEventArgs.cs
- XmlWriterTraceListener.cs
- WindowsBrush.cs
- ObjectListFieldCollection.cs
- BlockUIContainer.cs
- ColumnMap.cs
- HttpHostedTransportConfiguration.cs
- TagElement.cs
- _UriTypeConverter.cs
- ErrorStyle.cs
- MimePart.cs
- LogEntryUtils.cs
- DataGridViewSortCompareEventArgs.cs
- ObjectToIdCache.cs
- AuthenticatedStream.cs
- InputReportEventArgs.cs
- SignatureTargetIdManager.cs
- ObjectResult.cs
- BrowserDefinition.cs
- AutomationIdentifier.cs
- SimplePropertyEntry.cs
- TraceHwndHost.cs
- BindingSource.cs
- StylusPointCollection.cs
- CheckPair.cs
- ProfileService.cs
- TypeExtensionConverter.cs
- ObjectRef.cs
- storepermission.cs
- RelatedEnd.cs
- DateTimeConstantAttribute.cs
- DependencyObjectType.cs
- InstanceLockedException.cs
- QueryOutputWriter.cs
- ToolBarPanel.cs
- HttpWebRequestElement.cs
- BitmapEffectRenderDataResource.cs
- RichTextBox.cs
- DesignerAutoFormat.cs
- DataListAutoFormat.cs
- ObjectReaderCompiler.cs
- PropertyHelper.cs
- DbCommandTree.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HasCopySemanticsAttribute.cs
- ProviderConnectionPointCollection.cs
- TemplateAction.cs
- TCEAdapterGenerator.cs
- DataGridViewCellParsingEventArgs.cs
- _LazyAsyncResult.cs
- AxWrapperGen.cs
- CustomValidator.cs
- SqlUserDefinedTypeAttribute.cs
- LinkLabelLinkClickedEvent.cs
- ProviderException.cs
- ToolStripStatusLabel.cs
- DesignerListAdapter.cs
- FloaterParaClient.cs
- PublishLicense.cs
- DocumentPaginator.cs
- OleDbDataAdapter.cs
- ZipIOModeEnforcingStream.cs
- ResourceExpressionBuilder.cs
- DoubleStorage.cs
- PolyQuadraticBezierSegment.cs
- OracleParameterCollection.cs
- HostingEnvironment.cs
- PropertyGridEditorPart.cs
- EdmFunctions.cs
- DbProviderManifest.cs
- RichTextBoxAutomationPeer.cs
- SystemSounds.cs
- _LocalDataStore.cs
- Vector3DCollectionConverter.cs
- StringKeyFrameCollection.cs
- sqlnorm.cs
- TransformCryptoHandle.cs
- ResourceContainer.cs
- SQLResource.cs