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
- QueryCacheManager.cs
- TreeViewDataItemAutomationPeer.cs
- GifBitmapDecoder.cs
- OracleInfoMessageEventArgs.cs
- TextSchema.cs
- SoapIgnoreAttribute.cs
- SymbolType.cs
- BindingMemberInfo.cs
- DetailsViewRow.cs
- DataPagerCommandEventArgs.cs
- WebExceptionStatus.cs
- ClientSideQueueItem.cs
- ViewCellRelation.cs
- HostingEnvironment.cs
- AuthStoreRoleProvider.cs
- NamespaceEmitter.cs
- SuppressMergeCheckAttribute.cs
- SuppressMergeCheckAttribute.cs
- HtmlHistory.cs
- XmlComment.cs
- QueryCreatedEventArgs.cs
- DesignerListAdapter.cs
- PolyBezierSegmentFigureLogic.cs
- MetadataPropertyAttribute.cs
- WorkflowHostingResponseContext.cs
- XomlCompilerParameters.cs
- StandardBindingCollectionElement.cs
- SchemaImporter.cs
- SizeValueSerializer.cs
- Pool.cs
- BindUriHelper.cs
- CodeNamespace.cs
- DataGridViewCellValidatingEventArgs.cs
- ShapingWorkspace.cs
- RegexReplacement.cs
- ListViewCancelEventArgs.cs
- StatusBarAutomationPeer.cs
- AbstractSvcMapFileLoader.cs
- ThemeInfoAttribute.cs
- AdRotator.cs
- DigestComparer.cs
- InkCollectionBehavior.cs
- RealizedColumnsBlock.cs
- Converter.cs
- HtmlFormWrapper.cs
- StringPropertyBuilder.cs
- CollectionViewGroup.cs
- UIElement3D.cs
- CheckPair.cs
- CmsInterop.cs
- _AutoWebProxyScriptEngine.cs
- Accessors.cs
- HelpInfo.cs
- ArraySortHelper.cs
- DataPagerFieldCommandEventArgs.cs
- ISO2022Encoding.cs
- ContentElement.cs
- TextCharacters.cs
- SpeechRecognizer.cs
- IgnoreFileBuildProvider.cs
- _SecureChannel.cs
- SecurityProtocolCorrelationState.cs
- OleDbFactory.cs
- FileSystemEventArgs.cs
- Rotation3DAnimation.cs
- DynamicQueryableWrapper.cs
- PositiveTimeSpanValidatorAttribute.cs
- UpWmlPageAdapter.cs
- MasterPageCodeDomTreeGenerator.cs
- AdvancedBindingEditor.cs
- _StreamFramer.cs
- CodeArrayIndexerExpression.cs
- ManagedWndProcTracker.cs
- XmlSchemaObject.cs
- MailDefinition.cs
- ScriptingSectionGroup.cs
- CopyAttributesAction.cs
- DelayedRegex.cs
- FormsAuthenticationConfiguration.cs
- OpenTypeLayoutCache.cs
- httpstaticobjectscollection.cs
- StringAnimationUsingKeyFrames.cs
- BulletedList.cs
- BasePropertyDescriptor.cs
- WebServiceParameterData.cs
- ButtonChrome.cs
- UpdatePanelTriggerCollection.cs
- newinstructionaction.cs
- SvcMapFile.cs
- BamlBinaryReader.cs
- SelectorItemAutomationPeer.cs
- PolicyUnit.cs
- DetailsViewModeEventArgs.cs
- ApplicationId.cs
- ImageCodecInfo.cs
- ChannelManagerHelpers.cs
- ZeroOpNode.cs
- TraceSection.cs
- MessageBox.cs
- counter.cs