Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeObjectCreateExpression.cs / 1305376 / CodeObjectCreateExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- SmtpFailedRecipientsException.cs
- MeasureItemEvent.cs
- EntityParameter.cs
- TextDecorationCollectionConverter.cs
- ToolStripRenderer.cs
- MarkupWriter.cs
- CustomErrorsSection.cs
- coordinator.cs
- TransactionScope.cs
- StandardCommands.cs
- SubstitutionList.cs
- TextTreeDeleteContentUndoUnit.cs
- AdPostCacheSubstitution.cs
- Content.cs
- TranslateTransform3D.cs
- ConstructorBuilder.cs
- NativeMethods.cs
- PageCodeDomTreeGenerator.cs
- QuotedPairReader.cs
- SqlDataSourceCommandParser.cs
- LessThanOrEqual.cs
- CharConverter.cs
- ObjectDataSourceFilteringEventArgs.cs
- NullableLongSumAggregationOperator.cs
- FileUpload.cs
- OdbcConnection.cs
- SoapFault.cs
- DataContext.cs
- EnumValidator.cs
- RootDesignerSerializerAttribute.cs
- securitycriticaldata.cs
- ValidationSummary.cs
- PasswordBoxAutomationPeer.cs
- WS2007FederationHttpBinding.cs
- GenericTypeParameterBuilder.cs
- UnmanagedMemoryAccessor.cs
- ProjectionPlanCompiler.cs
- ServiceObjectContainer.cs
- AttributeCollection.cs
- ImageSourceConverter.cs
- VarRemapper.cs
- SecurityPermission.cs
- ToolStripPanelCell.cs
- ApplicationProxyInternal.cs
- SourceFileBuildProvider.cs
- ManagedWndProcTracker.cs
- QilLiteral.cs
- DirectionalLight.cs
- StringOutput.cs
- DbSetClause.cs
- CqlGenerator.cs
- DmlSqlGenerator.cs
- Point4DConverter.cs
- HttpContext.cs
- VisualState.cs
- ServiceMetadataBehavior.cs
- OutOfProcStateClientManager.cs
- XmlBaseReader.cs
- DurableMessageDispatchInspector.cs
- Privilege.cs
- FileDetails.cs
- PropertyDescriptorGridEntry.cs
- WebZone.cs
- PointKeyFrameCollection.cs
- METAHEADER.cs
- HttpApplicationFactory.cs
- CodeExpressionCollection.cs
- UserControl.cs
- TextDecoration.cs
- ACE.cs
- BindingGraph.cs
- EntityClientCacheKey.cs
- StorageInfo.cs
- RewritingProcessor.cs
- Win32MouseDevice.cs
- Drawing.cs
- FileVersionInfo.cs
- Block.cs
- ExceptionWrapper.cs
- ExpressionContext.cs
- EventlogProvider.cs
- DiscoveryService.cs
- DoubleAnimationClockResource.cs
- WindowsIdentity.cs
- EFColumnProvider.cs
- StreamReader.cs
- HttpWebRequestElement.cs
- Stackframe.cs
- CustomAttributeSerializer.cs
- ToolZone.cs
- DeviceContexts.cs
- Set.cs
- Registry.cs
- ActivityDesignerResources.cs
- GroupBoxRenderer.cs
- RequestCachePolicyConverter.cs
- XmlWriterDelegator.cs
- CapabilitiesUse.cs
- StoragePropertyMapping.cs
- CommandTreeTypeHelper.cs