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
- Viewport3DAutomationPeer.cs
- SystemIPInterfaceStatistics.cs
- MissingMemberException.cs
- UriTemplatePathSegment.cs
- ApplicationInfo.cs
- Wizard.cs
- WebUtil.cs
- HtmlTableCell.cs
- SspiHelper.cs
- InputManager.cs
- UpdateRecord.cs
- ReturnEventArgs.cs
- OleDbCommandBuilder.cs
- SingleResultAttribute.cs
- SystemInfo.cs
- Operand.cs
- ClientConvert.cs
- ContextMenuAutomationPeer.cs
- EditorPartCollection.cs
- ClientScriptManagerWrapper.cs
- WebServiceReceive.cs
- DetailsViewDeleteEventArgs.cs
- DesignerAttribute.cs
- DelegateHelpers.cs
- HideDisabledControlAdapter.cs
- _BaseOverlappedAsyncResult.cs
- UserControlFileEditor.cs
- AppSettingsExpressionBuilder.cs
- MembershipPasswordException.cs
- MergeLocalizationDirectives.cs
- SiteMapPath.cs
- Line.cs
- Point3DCollectionConverter.cs
- ProgressiveCrcCalculatingStream.cs
- QilTypeChecker.cs
- ZoomPercentageConverter.cs
- ComplexObject.cs
- NegationPusher.cs
- TransactionFlowAttribute.cs
- AnnotationDocumentPaginator.cs
- OdbcDataReader.cs
- CommandPlan.cs
- GatewayIPAddressInformationCollection.cs
- ExpandableObjectConverter.cs
- ResumeStoryboard.cs
- ActionFrame.cs
- HwndProxyElementProvider.cs
- ConnectionPoolManager.cs
- ReadingWritingEntityEventArgs.cs
- AutoCompleteStringCollection.cs
- TypeToken.cs
- FactoryGenerator.cs
- X509Extension.cs
- MediaCommands.cs
- TypeConverterValueSerializer.cs
- ClientOptions.cs
- _ContextAwareResult.cs
- Matrix.cs
- DataStreams.cs
- ModelItem.cs
- BitStream.cs
- TdsParser.cs
- DesignerActionGlyph.cs
- GPPOINT.cs
- ChannelManager.cs
- WebSysDisplayNameAttribute.cs
- Speller.cs
- SchemaRegistration.cs
- ProfileService.cs
- SplashScreenNativeMethods.cs
- WebUtil.cs
- StylusPointDescription.cs
- ObjectDataSourceView.cs
- ProtectedConfigurationSection.cs
- DrawingAttributesDefaultValueFactory.cs
- SelectionService.cs
- MetabaseServerConfig.cs
- SvcMapFile.cs
- Image.cs
- DbDataAdapter.cs
- Trace.cs
- ImageField.cs
- ExtractorMetadata.cs
- Codec.cs
- BinaryOperationBinder.cs
- ControlPaint.cs
- ColumnClickEvent.cs
- FixedSOMSemanticBox.cs
- SimpleBitVector32.cs
- HtmlWindow.cs
- PolyLineSegment.cs
- TraceHandlerErrorFormatter.cs
- IntSecurity.cs
- RuntimeConfig.cs
- RegexRunner.cs
- ControlBuilderAttribute.cs
- EditorResources.cs
- ControlPaint.cs
- DatagridviewDisplayedBandsData.cs
- MessageBox.cs