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
- BinaryConverter.cs
- DataContractSerializerOperationFormatter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DynamicDataManager.cs
- XmlNotation.cs
- BinHexDecoder.cs
- PrinterUnitConvert.cs
- ComponentResourceKeyConverter.cs
- FormsAuthenticationConfiguration.cs
- StylusButton.cs
- DataGridViewSelectedColumnCollection.cs
- ISFClipboardData.cs
- TemplateControlParser.cs
- RadioButtonPopupAdapter.cs
- BuildManager.cs
- InputScopeAttribute.cs
- BasicExpandProvider.cs
- XsltConvert.cs
- ProcessThreadCollection.cs
- SurrogateChar.cs
- DataGridViewColumnCollectionDialog.cs
- ArrayExtension.cs
- SecurityContext.cs
- ResourceReferenceKeyNotFoundException.cs
- NamedPermissionSet.cs
- SHA256Managed.cs
- BaseTemplateCodeDomTreeGenerator.cs
- InputLanguageEventArgs.cs
- Suspend.cs
- Figure.cs
- SqlCommandAsyncResult.cs
- DebuggerAttributes.cs
- XmlSchemaAny.cs
- ProcessHostMapPath.cs
- QilTernary.cs
- ColorConvertedBitmapExtension.cs
- PageAsyncTask.cs
- TreeNodeClickEventArgs.cs
- BindingListCollectionView.cs
- DbDataRecord.cs
- ResourceWriter.cs
- SymbolType.cs
- XpsFont.cs
- RemotingServices.cs
- HttpListenerException.cs
- OletxDependentTransaction.cs
- LineUtil.cs
- AsymmetricSignatureFormatter.cs
- SqlClientWrapperSmiStreamChars.cs
- XmlTextEncoder.cs
- DataGridTemplateColumn.cs
- MessageEncoder.cs
- LocatorGroup.cs
- HtmlTextArea.cs
- HttpStreamXmlDictionaryReader.cs
- MethodToken.cs
- SimpleBitVector32.cs
- Resources.Designer.cs
- SapiAttributeParser.cs
- NGCPageContentCollectionSerializerAsync.cs
- GridViewRowEventArgs.cs
- TimeoutValidationAttribute.cs
- XmlIlTypeHelper.cs
- Label.cs
- UnsafeNativeMethods.cs
- DefaultMemberAttribute.cs
- XamlTreeBuilder.cs
- OperationDescription.cs
- Classification.cs
- ColorConvertedBitmapExtension.cs
- ItemsPresenter.cs
- ArrayElementGridEntry.cs
- Stacktrace.cs
- XPathNode.cs
- StringPropertyBuilder.cs
- BufferedGenericXmlSecurityToken.cs
- TaiwanLunisolarCalendar.cs
- ScrollChangedEventArgs.cs
- Debugger.cs
- PrintPageEvent.cs
- ProcessModule.cs
- ObjectQueryExecutionPlan.cs
- EntityContainerRelationshipSet.cs
- SystemDiagnosticsSection.cs
- ListMarkerLine.cs
- Polyline.cs
- EmptyStringExpandableObjectConverter.cs
- ImageAnimator.cs
- HttpCapabilitiesBase.cs
- FieldNameLookup.cs
- TableAdapterManagerNameHandler.cs
- COM2IProvidePropertyBuilderHandler.cs
- GetPageCompletedEventArgs.cs
- BuiltInExpr.cs
- AffineTransform3D.cs
- ExpressionNormalizer.cs
- EventHandlerList.cs
- IgnoreSection.cs
- NavigateEvent.cs
- XmlReaderSettings.cs