Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeDelegate.cs / 1305376 / CodeTypeDelegate.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeDelegate : CodeTypeDeclaration { private CodeParameterDeclarationExpressionCollection parameters = new CodeParameterDeclarationExpressionCollection(); private CodeTypeReference returnType; ////// Represents a class or nested class. /// ////// public CodeTypeDelegate() { TypeAttributes &= ~TypeAttributes.ClassSemanticsMask; TypeAttributes |= TypeAttributes.Class; BaseTypes.Clear(); BaseTypes.Add(new CodeTypeReference("System.Delegate")); } ////// Initializes a new instance of ///. /// /// public CodeTypeDelegate(string name) : this() { Name = name; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference ReturnType { get { if (returnType == null) { returnType = new CodeTypeReference(""); } return returnType; } set { returnType = value; } } ////// Gets or sets the return type of the delegate. /// ////// public CodeParameterDeclarationExpressionCollection Parameters { get { return parameters; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The parameters of the delegate. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ILGenerator.cs
- ErrorHandler.cs
- ExpressionPrefixAttribute.cs
- Claim.cs
- LayoutUtils.cs
- DifferencingCollection.cs
- FileNotFoundException.cs
- RequestCacheManager.cs
- PropertyHelper.cs
- ContactManager.cs
- BaseAsyncResult.cs
- SSmlParser.cs
- EventProviderWriter.cs
- ToolStripContextMenu.cs
- _UncName.cs
- ApplicationFileParser.cs
- DbDataReader.cs
- BypassElement.cs
- ConfigurationErrorsException.cs
- PropertyItem.cs
- DataTableCollection.cs
- EntityProviderServices.cs
- PLINQETWProvider.cs
- DataPointer.cs
- Substitution.cs
- PersonalizationProviderCollection.cs
- DependencyProperty.cs
- GenericAuthenticationEventArgs.cs
- SecurityChannelListener.cs
- MetafileHeader.cs
- StoragePropertyMapping.cs
- TreeWalker.cs
- DataRecordInternal.cs
- SqlXmlStorage.cs
- ObjectQuery.cs
- ProgressPage.cs
- BinaryParser.cs
- HScrollBar.cs
- ScriptHandlerFactory.cs
- SimpleLine.cs
- BindingRestrictions.cs
- AssociationSetMetadata.cs
- relpropertyhelper.cs
- TimeEnumHelper.cs
- MetadataProperty.cs
- TextEditorContextMenu.cs
- RectangleHotSpot.cs
- SecurityPolicyVersion.cs
- FaultCallbackWrapper.cs
- PointHitTestParameters.cs
- _Connection.cs
- TTSEngineProxy.cs
- BoundColumn.cs
- BooleanFunctions.cs
- Privilege.cs
- HttpPostLocalhostServerProtocol.cs
- EventTrigger.cs
- CollectionTypeElement.cs
- ItemDragEvent.cs
- AssemblyResourceLoader.cs
- XmlValueConverter.cs
- IBuiltInEvidence.cs
- PrintController.cs
- LateBoundBitmapDecoder.cs
- _PooledStream.cs
- GroupBox.cs
- Expander.cs
- DrawingBrush.cs
- Point4DConverter.cs
- StrongNameIdentityPermission.cs
- EdmEntityTypeAttribute.cs
- DocumentScope.cs
- ImageFormat.cs
- Validator.cs
- DynamicDataResources.Designer.cs
- CallContext.cs
- MutexSecurity.cs
- LineGeometry.cs
- HtmlMeta.cs
- PaperSize.cs
- Fx.cs
- WebFaultClientMessageInspector.cs
- ResourceReader.cs
- MobileFormsAuthentication.cs
- SqlTypesSchemaImporter.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- Configuration.cs
- WsdlBuildProvider.cs
- BuildResultCache.cs
- RuntimeWrappedException.cs
- XmlDocumentFragment.cs
- ConnectionPointCookie.cs
- LinkUtilities.cs
- FormsAuthenticationModule.cs
- D3DImage.cs
- XsltArgumentList.cs
- SafeRegistryHandle.cs
- SerializationAttributes.cs
- ContextStaticAttribute.cs
- SelectiveScrollingGrid.cs