Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeObjectCreateExpression.cs / 1 / CodeObjectCreateExpression.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 CodeObjectCreateExpression : CodeExpression { private CodeTypeReference createType; private CodeExpressionCollection parameters = new CodeExpressionCollection(); ////// Represents an object create expression. /// ////// public CodeObjectCreateExpression() { } ////// Initializes a new ///. /// /// public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) { CreateType = createType; Parameters.AddRange(parameters); } ////// Initializes a new ///using the specified type and /// parameters. /// /// public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) { CreateType = new CodeTypeReference(createType); Parameters.AddRange(parameters); } ///[To be supplied.] ////// public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) { CreateType = new CodeTypeReference(createType); Parameters.AddRange(parameters); } ///[To be supplied.] ////// public CodeTypeReference CreateType { get { if (createType == null) { createType = new CodeTypeReference(""); } return createType; } set { createType = value; } } ////// The type of the object to create. /// ////// public CodeExpressionCollection Parameters { get { return parameters; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the parameters to use in creating the /// object. /// ///// 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 CodeObjectCreateExpression : CodeExpression { private CodeTypeReference createType; private CodeExpressionCollection parameters = new CodeExpressionCollection(); ////// Represents an object create expression. /// ////// public CodeObjectCreateExpression() { } ////// Initializes a new ///. /// /// public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) { CreateType = createType; Parameters.AddRange(parameters); } ////// Initializes a new ///using the specified type and /// parameters. /// /// public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) { CreateType = new CodeTypeReference(createType); Parameters.AddRange(parameters); } ///[To be supplied.] ////// public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) { CreateType = new CodeTypeReference(createType); Parameters.AddRange(parameters); } ///[To be supplied.] ////// public CodeTypeReference CreateType { get { if (createType == null) { createType = new CodeTypeReference(""); } return createType; } set { createType = value; } } ////// The type of the object to create. /// ////// public CodeExpressionCollection Parameters { get { return parameters; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the parameters to use in creating the /// object. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourcesChangeInfo.cs
- Padding.cs
- ObjectDataSourceEventArgs.cs
- UnsafeNativeMethods.cs
- NavigationExpr.cs
- SignedXmlDebugLog.cs
- BigInt.cs
- Int32Animation.cs
- ObjectViewListener.cs
- HttpRequest.cs
- VirtualizingPanel.cs
- _NegotiateClient.cs
- ExecutorLocksHeldException.cs
- HandlerWithFactory.cs
- SizeAnimationClockResource.cs
- HtmlInputHidden.cs
- ConditionalExpression.cs
- BoundField.cs
- ObjectStateManager.cs
- OciLobLocator.cs
- DesignerDataColumn.cs
- CryptoStream.cs
- Run.cs
- AnyAllSearchOperator.cs
- RectangleConverter.cs
- ToolStripControlHost.cs
- TypeElementCollection.cs
- XmlWhitespace.cs
- ConnectionStringsExpressionBuilder.cs
- SqlRowUpdatingEvent.cs
- AnnotationComponentChooser.cs
- BinaryParser.cs
- CryptoApi.cs
- TypographyProperties.cs
- WebConfigurationManager.cs
- OuterGlowBitmapEffect.cs
- GeometryDrawing.cs
- ListViewItemMouseHoverEvent.cs
- keycontainerpermission.cs
- PrinterResolution.cs
- FileSystemWatcher.cs
- SoapFaultCodes.cs
- Form.cs
- TreeChangeInfo.cs
- CodeVariableReferenceExpression.cs
- DynamicDataManager.cs
- Thumb.cs
- XmlSchemaAttribute.cs
- DoubleCollectionConverter.cs
- WindowsStartMenu.cs
- oledbmetadatacolumnnames.cs
- TableParaClient.cs
- GridViewEditEventArgs.cs
- SizeIndependentAnimationStorage.cs
- EpmTargetPathSegment.cs
- TableLayoutPanel.cs
- ContextMarshalException.cs
- SelectionUIService.cs
- XmlSchemaAnnotation.cs
- DataControlFieldCell.cs
- XmlNodeReader.cs
- SimpleHandlerBuildProvider.cs
- _NegotiateClient.cs
- TreeViewItem.cs
- DotExpr.cs
- ResXResourceWriter.cs
- HtmlControl.cs
- MultiView.cs
- ReachNamespaceInfo.cs
- ScaleTransform.cs
- Selection.cs
- ClientConfigurationHost.cs
- DbParameterCollectionHelper.cs
- PropertyBuilder.cs
- EmbossBitmapEffect.cs
- IPHostEntry.cs
- DataShape.cs
- TakeQueryOptionExpression.cs
- TokenizerHelper.cs
- GridItemPatternIdentifiers.cs
- String.cs
- MimeTypePropertyAttribute.cs
- DebugView.cs
- PreviousTrackingServiceAttribute.cs
- ManagementPath.cs
- PublisherMembershipCondition.cs
- PriorityBindingExpression.cs
- ConfigurationElementProperty.cs
- WinEventTracker.cs
- DuplexSecurityProtocolFactory.cs
- AuthenticationModuleElementCollection.cs
- LinkGrep.cs
- DrawingBrush.cs
- OleDbParameterCollection.cs
- AssemblyResourceLoader.cs
- PlatformNotSupportedException.cs
- JoinCqlBlock.cs
- RootBrowserWindowAutomationPeer.cs
- WmpBitmapEncoder.cs
- EntityConnection.cs