Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1 / CodeDelegateCreateExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the method name. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the method name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataTableReader.cs
- ModelService.cs
- HostingEnvironmentWrapper.cs
- FileStream.cs
- BamlWriter.cs
- ModelUIElement3D.cs
- TdsParserHelperClasses.cs
- CompiledQuery.cs
- PointValueSerializer.cs
- Executor.cs
- NamespaceTable.cs
- AssemblyBuilder.cs
- LabelDesigner.cs
- WindowsEditBoxRange.cs
- BuildProvidersCompiler.cs
- DecryptedHeader.cs
- EntityDataSourceViewSchema.cs
- QueryCacheEntry.cs
- AnonymousIdentificationSection.cs
- Themes.cs
- UnicodeEncoding.cs
- PassportIdentity.cs
- MailAddressCollection.cs
- VerificationAttribute.cs
- _ProxyRegBlob.cs
- VarRefManager.cs
- ListCollectionView.cs
- ListViewItemSelectionChangedEvent.cs
- __FastResourceComparer.cs
- CodeComment.cs
- TaskFormBase.cs
- ZipIOCentralDirectoryBlock.cs
- FunctionDetailsReader.cs
- MyContact.cs
- ConstrainedDataObject.cs
- ByteAnimation.cs
- ListBindingConverter.cs
- arc.cs
- PrintDialog.cs
- PerformanceCounterPermissionAttribute.cs
- OpenFileDialog.cs
- CodeIdentifier.cs
- SQLGuidStorage.cs
- HashSetDebugView.cs
- HttpHandlersSection.cs
- ApplicationCommands.cs
- XmlAnyElementAttributes.cs
- ZoneMembershipCondition.cs
- InkCanvasSelection.cs
- ObjRef.cs
- XamlToRtfParser.cs
- GroupStyle.cs
- EntitySetBaseCollection.cs
- SHA1.cs
- HistoryEventArgs.cs
- EntityViewGenerator.cs
- TextTreeTextElementNode.cs
- XPathNodeIterator.cs
- ComboBox.cs
- RegistryPermission.cs
- UnionCqlBlock.cs
- XmlDataSourceNodeDescriptor.cs
- WebPartAddingEventArgs.cs
- TimeSpan.cs
- SqlLiftIndependentRowExpressions.cs
- ForceCopyBuildProvider.cs
- XamlTemplateSerializer.cs
- RegexInterpreter.cs
- LeafCellTreeNode.cs
- ETagAttribute.cs
- OutputWindow.cs
- OAVariantLib.cs
- StyleCollection.cs
- Tokenizer.cs
- CommandEventArgs.cs
- AutomationAttributeInfo.cs
- SessionPageStateSection.cs
- CodeGroup.cs
- StreamWriter.cs
- SecurityManager.cs
- DefaultDialogButtons.cs
- XmlRawWriter.cs
- StringConcat.cs
- LocatorBase.cs
- ActionMessageFilterTable.cs
- SiteMapNode.cs
- DataGridViewBindingCompleteEventArgs.cs
- UrlPath.cs
- UserControlFileEditor.cs
- HostingPreferredMapPath.cs
- MenuItem.cs
- DataSourceControl.cs
- GatewayDefinition.cs
- SoapSchemaMember.cs
- PtsHost.cs
- GroupQuery.cs
- MonthChangedEventArgs.cs
- UpDownBase.cs
- ToolStripDropDownButton.cs
- ImageDrawing.cs