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
- NullableFloatMinMaxAggregationOperator.cs
- TextHidden.cs
- UnsafeNativeMethods.cs
- MsmqQueue.cs
- DataTemplate.cs
- TemplateBindingExtension.cs
- MenuItem.cs
- WarningException.cs
- xmlformatgeneratorstatics.cs
- FormsAuthentication.cs
- MessageDecoder.cs
- MetaType.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- sortedlist.cs
- Msmq4PoisonHandler.cs
- DataRecordInternal.cs
- RayHitTestParameters.cs
- DriveNotFoundException.cs
- SymmetricSecurityBindingElement.cs
- Int16AnimationBase.cs
- BuildManagerHost.cs
- IdentitySection.cs
- NativeMethods.cs
- ObjectListField.cs
- FontWeightConverter.cs
- HashHelper.cs
- COM2Properties.cs
- ManipulationStartingEventArgs.cs
- ContainerUtilities.cs
- indexingfiltermarshaler.cs
- HttpProxyTransportBindingElement.cs
- MissingSatelliteAssemblyException.cs
- PathParser.cs
- XamlStream.cs
- RegistryPermission.cs
- SmiXetterAccessMap.cs
- RadioButtonRenderer.cs
- PropertyMap.cs
- AutomationElementCollection.cs
- KeyPullup.cs
- Substitution.cs
- ToolStripTextBox.cs
- ProtocolsConfigurationEntry.cs
- LayoutEngine.cs
- ClientOptions.cs
- ReadOnlyDataSource.cs
- DataGridViewCell.cs
- DataAdapter.cs
- SamlAuthorizationDecisionStatement.cs
- PeerNameRecordCollection.cs
- HostSecurityManager.cs
- PortCache.cs
- KeyValueInternalCollection.cs
- DataMemberFieldEditor.cs
- TextSelectionHighlightLayer.cs
- HtmlLink.cs
- RSAProtectedConfigurationProvider.cs
- XmlReturnReader.cs
- _HTTPDateParse.cs
- DashStyle.cs
- GregorianCalendarHelper.cs
- Deserializer.cs
- FieldToken.cs
- TextEditorThreadLocalStore.cs
- RecordBuilder.cs
- WorkItem.cs
- SqlServer2KCompatibilityCheck.cs
- XmlFormatReaderGenerator.cs
- ClientType.cs
- HelpEvent.cs
- InteropAutomationProvider.cs
- MultiSelectRootGridEntry.cs
- ItemList.cs
- EntityCommandExecutionException.cs
- InternalPolicyElement.cs
- ConditionalAttribute.cs
- SqlProfileProvider.cs
- AdRotator.cs
- SqlTriggerContext.cs
- SizeAnimationBase.cs
- CodeConditionStatement.cs
- InternalBase.cs
- ToolStripSystemRenderer.cs
- WorkflowViewElement.cs
- PageAsyncTaskManager.cs
- NullReferenceException.cs
- AsyncOperation.cs
- HashMembershipCondition.cs
- TextElement.cs
- ImageConverter.cs
- InternalBase.cs
- ReservationNotFoundException.cs
- WebConfigurationFileMap.cs
- WinEventTracker.cs
- WaveHeader.cs
- HostedElements.cs
- DetailsViewRowCollection.cs
- mda.cs
- IsolatedStorageFile.cs
- EncoderBestFitFallback.cs