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
- PathFigureCollectionConverter.cs
- ViewStateException.cs
- GridView.cs
- DetailsViewCommandEventArgs.cs
- PartManifestEntry.cs
- SessionParameter.cs
- DataRelationPropertyDescriptor.cs
- IPipelineRuntime.cs
- Activity.cs
- SqlMethodTransformer.cs
- AttachedProperty.cs
- CacheMemory.cs
- webeventbuffer.cs
- HtmlInputPassword.cs
- UnknownWrapper.cs
- SiteMapPath.cs
- AxHost.cs
- ApplicationFileParser.cs
- GridViewRowPresenterBase.cs
- TransformProviderWrapper.cs
- TextServicesManager.cs
- WinInetCache.cs
- ColumnBinding.cs
- srgsitem.cs
- ServiceDescriptionReflector.cs
- BaseTreeIterator.cs
- FunctionImportMapping.cs
- XamlWrappingReader.cs
- FixedSOMLineCollection.cs
- DelegatedStream.cs
- Random.cs
- SessionPageStateSection.cs
- StoreItemCollection.Loader.cs
- GACMembershipCondition.cs
- ExpressionDumper.cs
- PropertyItemInternal.cs
- ModelItem.cs
- TextDocumentView.cs
- FixedSOMFixedBlock.cs
- LambdaValue.cs
- XmlSchemaSimpleContentExtension.cs
- DataObjectEventArgs.cs
- WebPartExportVerb.cs
- LogPolicy.cs
- WebBrowserNavigatingEventHandler.cs
- MouseGestureValueSerializer.cs
- RectValueSerializer.cs
- InfoCardService.cs
- ExtentJoinTreeNode.cs
- EntitySqlException.cs
- RequestCacheValidator.cs
- StdValidatorsAndConverters.cs
- FrameworkElementFactoryMarkupObject.cs
- webproxy.cs
- BindValidationContext.cs
- Margins.cs
- SetStoryboardSpeedRatio.cs
- HebrewNumber.cs
- DataSvcMapFile.cs
- DeferrableContentConverter.cs
- X509Chain.cs
- FollowerQueueCreator.cs
- SqlXmlStorage.cs
- ReadOnlyCollection.cs
- XmlDataCollection.cs
- CompositionTarget.cs
- EventProxy.cs
- Walker.cs
- Html32TextWriter.cs
- BooleanAnimationUsingKeyFrames.cs
- DesignerExtenders.cs
- _NetworkingPerfCounters.cs
- OdbcUtils.cs
- Compiler.cs
- ProfileModule.cs
- XpsFilter.cs
- QilLoop.cs
- SystemColors.cs
- AutoResetEvent.cs
- ServiceReference.cs
- MemberHolder.cs
- SpeechUI.cs
- DateTimeStorage.cs
- ControlParameter.cs
- TransactionalPackage.cs
- DesignTimeSiteMapProvider.cs
- RootBrowserWindowAutomationPeer.cs
- XmlSortKey.cs
- FtpWebResponse.cs
- WeakReferenceEnumerator.cs
- ListViewTableCell.cs
- StrokeDescriptor.cs
- CryptoHelper.cs
- DownloadProgressEventArgs.cs
- SchemaElementLookUpTableEnumerator.cs
- CommandConverter.cs
- RedirectionProxy.cs
- Graphics.cs
- arabicshape.cs
- WhereQueryOperator.cs