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
- GrammarBuilderWildcard.cs
- Model3DGroup.cs
- ACE.cs
- ValidatorUtils.cs
- BaseServiceProvider.cs
- MexTcpBindingCollectionElement.cs
- PasswordTextNavigator.cs
- TreeNodeBinding.cs
- SessionState.cs
- RSAPKCS1SignatureFormatter.cs
- Label.cs
- SplitterPanel.cs
- Formatter.cs
- RouteTable.cs
- DropShadowBitmapEffect.cs
- QilName.cs
- BitmapEffectGeneralTransform.cs
- XsltException.cs
- IItemContainerGenerator.cs
- XPathDocumentBuilder.cs
- RtfFormatStack.cs
- WindowsAuthenticationEventArgs.cs
- DBNull.cs
- IntranetCredentialPolicy.cs
- StringValidatorAttribute.cs
- DBConcurrencyException.cs
- Win32Exception.cs
- TransactionsSectionGroup.cs
- ProvidersHelper.cs
- NameSpaceExtractor.cs
- PluralizationServiceUtil.cs
- DropShadowBitmapEffect.cs
- RulePatternOps.cs
- DataGridViewButtonCell.cs
- Utils.cs
- InfoCardProofToken.cs
- Synchronization.cs
- SoapProtocolReflector.cs
- SuppressMessageAttribute.cs
- CellParaClient.cs
- AnimationTimeline.cs
- ByteAnimationUsingKeyFrames.cs
- LongValidator.cs
- MappedMetaModel.cs
- Drawing.cs
- OleDbRowUpdatingEvent.cs
- ColorTransformHelper.cs
- RectangleGeometry.cs
- SmtpMail.cs
- InvokePattern.cs
- EditorOptionAttribute.cs
- HandleCollector.cs
- XmlNavigatorFilter.cs
- SessionEndedEventArgs.cs
- ElementUtil.cs
- XmlC14NWriter.cs
- PostBackTrigger.cs
- PersonalizablePropertyEntry.cs
- LayoutInformation.cs
- SchemeSettingElement.cs
- XmlTextAttribute.cs
- RouteParameter.cs
- SQLInt64.cs
- HtmlShimManager.cs
- MaterialCollection.cs
- HTMLTagNameToTypeMapper.cs
- CounterCreationData.cs
- MasterPageBuildProvider.cs
- DataStorage.cs
- MouseEventArgs.cs
- SafeNativeMethods.cs
- PathFigure.cs
- PerformanceCounterNameAttribute.cs
- XmlAttributeHolder.cs
- RelationHandler.cs
- TemplateAction.cs
- PrimarySelectionAdorner.cs
- WebContentFormatHelper.cs
- SafeFindHandle.cs
- TableItemStyle.cs
- WebBrowserUriTypeConverter.cs
- AttributeData.cs
- NewArray.cs
- CommonObjectSecurity.cs
- Animatable.cs
- EntityCommandCompilationException.cs
- FormViewModeEventArgs.cs
- CustomErrorsSection.cs
- ColorContext.cs
- DotExpr.cs
- GridSplitterAutomationPeer.cs
- ClientConfigurationSystem.cs
- TreeChangeInfo.cs
- EntityExpressionVisitor.cs
- Pen.cs
- FixedTextView.cs
- ChangeDirector.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- XsdValidatingReader.cs
- Int32Rect.cs