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
- ConfigXmlWhitespace.cs
- BitmapEffectGroup.cs
- RoamingStoreFileUtility.cs
- QueryHandler.cs
- BooleanConverter.cs
- SaveFileDialog.cs
- XmlIncludeAttribute.cs
- CheckedListBox.cs
- OledbConnectionStringbuilder.cs
- CqlGenerator.cs
- VoiceChangeEventArgs.cs
- DataSourceDesigner.cs
- oledbmetadatacolumnnames.cs
- Localizer.cs
- IPHostEntry.cs
- CommonObjectSecurity.cs
- DelegatingConfigHost.cs
- MimeFormatExtensions.cs
- OperationGenerator.cs
- TabPage.cs
- LabelLiteral.cs
- OdbcInfoMessageEvent.cs
- FamilyMap.cs
- Rectangle.cs
- MatcherBuilder.cs
- PeerUnsafeNativeCryptMethods.cs
- PartitionResolver.cs
- CheckedListBox.cs
- MimeWriter.cs
- FileUpload.cs
- Preprocessor.cs
- Roles.cs
- EditingCoordinator.cs
- ToolStripItemTextRenderEventArgs.cs
- SqlEnums.cs
- NavigationService.cs
- PasswordTextContainer.cs
- XmlNavigatorStack.cs
- StdRegProviderWrapper.cs
- StreamInfo.cs
- TextSyndicationContent.cs
- AxisAngleRotation3D.cs
- Int16KeyFrameCollection.cs
- WebBrowser.cs
- ConnectionDemuxer.cs
- DSGeneratorProblem.cs
- DbConnectionPoolGroupProviderInfo.cs
- RequestDescription.cs
- ToolBarDesigner.cs
- DataGridTableCollection.cs
- ScrollViewerAutomationPeer.cs
- HitTestDrawingContextWalker.cs
- TabControl.cs
- NestedContainer.cs
- TdsParserHelperClasses.cs
- DataReaderContainer.cs
- HashCodeCombiner.cs
- AccessedThroughPropertyAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SortedList.cs
- CopyNamespacesAction.cs
- XmlILCommand.cs
- Sorting.cs
- XmlDocumentType.cs
- CreateUserWizard.cs
- IndexedGlyphRun.cs
- AccessedThroughPropertyAttribute.cs
- EllipseGeometry.cs
- Formatter.cs
- HostingEnvironmentWrapper.cs
- LambdaCompiler.Generated.cs
- FileDialogCustomPlacesCollection.cs
- DataViewManager.cs
- XamlRtfConverter.cs
- NativeMethods.cs
- DataTableMappingCollection.cs
- BindingExpressionUncommonField.cs
- IPEndPoint.cs
- DynamicMethod.cs
- UTF7Encoding.cs
- TriggerBase.cs
- XmlSchema.cs
- GeneratedCodeAttribute.cs
- CompleteWizardStep.cs
- ImageSource.cs
- NullableDoubleAverageAggregationOperator.cs
- XmlUtf8RawTextWriter.cs
- ContextConfiguration.cs
- RenderData.cs
- StyleXamlParser.cs
- StaticResourceExtension.cs
- SpellerInterop.cs
- LostFocusEventManager.cs
- ScriptReferenceEventArgs.cs
- QilXmlWriter.cs
- Condition.cs
- ProviderConnectionPoint.cs
- ListChangedEventArgs.cs
- MetaType.cs
- LineSegment.cs