Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CodeNamespaceImport.cs
- documentsequencetextcontainer.cs
- CommonObjectSecurity.cs
- DecimalStorage.cs
- Script.cs
- ReplyChannel.cs
- XamlToRtfWriter.cs
- EFDataModelProvider.cs
- PrivateFontCollection.cs
- WorkflowViewManager.cs
- XmlAttributeCollection.cs
- DataSourceXmlAttributeAttribute.cs
- Semaphore.cs
- CodeDelegateInvokeExpression.cs
- GridViewDeleteEventArgs.cs
- RequestNavigateEventArgs.cs
- BuildDependencySet.cs
- EntryWrittenEventArgs.cs
- ToolStripOverflowButton.cs
- SafeSecurityHelper.cs
- VerificationAttribute.cs
- Viewport3DAutomationPeer.cs
- ToolStrip.cs
- TableParaClient.cs
- OperandQuery.cs
- VolatileResourceManager.cs
- JobPageOrder.cs
- WebPartDisplayModeCollection.cs
- Model3D.cs
- HttpResponseWrapper.cs
- MemberCollection.cs
- SafeEventLogReadHandle.cs
- XmlAnyElementAttribute.cs
- QueryExpr.cs
- MenuEventArgs.cs
- MULTI_QI.cs
- OrCondition.cs
- EntitySetDataBindingList.cs
- PrimitiveXmlSerializers.cs
- DataGridTextColumn.cs
- CodeConstructor.cs
- COM2ColorConverter.cs
- MailFileEditor.cs
- TransformBlockRequest.cs
- SpecularMaterial.cs
- Int16KeyFrameCollection.cs
- Brush.cs
- IISUnsafeMethods.cs
- WebDisplayNameAttribute.cs
- RequestValidator.cs
- TemplatedWizardStep.cs
- ObfuscateAssemblyAttribute.cs
- ValidatedControlConverter.cs
- ParameterCollection.cs
- Material.cs
- FacetChecker.cs
- QuaternionRotation3D.cs
- FilePrompt.cs
- DesignTimeTemplateParser.cs
- XsdSchemaFileEditor.cs
- WebServiceTypeData.cs
- PageAdapter.cs
- Int32KeyFrameCollection.cs
- CharEnumerator.cs
- DbMetaDataColumnNames.cs
- OptimalTextSource.cs
- MdiWindowListStrip.cs
- WizardSideBarListControlItem.cs
- Line.cs
- FlowLayoutPanel.cs
- BrowserCapabilitiesCodeGenerator.cs
- AncillaryOps.cs
- SwitchCase.cs
- BaseTransportHeaders.cs
- Query.cs
- XmlNamespaceDeclarationsAttribute.cs
- SignatureDescription.cs
- Enlistment.cs
- updatecommandorderer.cs
- GeneralTransform3D.cs
- LeaseManager.cs
- MetadataPropertyAttribute.cs
- SqlMethods.cs
- QueryCacheKey.cs
- StateMachineWorkflowDesigner.cs
- DbSetClause.cs
- DataGridViewCellConverter.cs
- VirtualPath.cs
- SafeReversePInvokeHandle.cs
- DeflateInput.cs
- PerformanceCounter.cs
- TextServicesLoader.cs
- SystemKeyConverter.cs
- NamespaceList.cs
- StoreContentChangedEventArgs.cs
- AssemblyBuilder.cs
- CallbackHandler.cs
- InternalPolicyElement.cs
- IPAddress.cs
- PasswordBoxAutomationPeer.cs