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
- OleDbReferenceCollection.cs
- DesignerOptionService.cs
- SchemaManager.cs
- SapiAttributeParser.cs
- XXXInfos.cs
- TemplateControl.cs
- EmbeddedMailObjectCollectionEditor.cs
- ProfileBuildProvider.cs
- OdbcConnection.cs
- LinkLabelLinkClickedEvent.cs
- SystemEvents.cs
- ISO2022Encoding.cs
- SqlPersonalizationProvider.cs
- DefaultSerializationProviderAttribute.cs
- WsatConfiguration.cs
- RemoteAsymmetricSignatureFormatter.cs
- NumericUpDownAccelerationCollection.cs
- MulticastNotSupportedException.cs
- ColorAnimationBase.cs
- TextLineResult.cs
- RankException.cs
- HttpDateParse.cs
- CodeBlockBuilder.cs
- ZipArchive.cs
- AddInEnvironment.cs
- GuidTagList.cs
- IdentityHolder.cs
- filewebresponse.cs
- GeometryCombineModeValidation.cs
- ConfigUtil.cs
- DirectionalLight.cs
- ViewRendering.cs
- PreviewPrintController.cs
- ClientBuildManagerCallback.cs
- RuntimeCompatibilityAttribute.cs
- EntityDataSourceDataSelectionPanel.cs
- ComplexLine.cs
- DataGridViewCellParsingEventArgs.cs
- XmlAttributeOverrides.cs
- Dump.cs
- CustomError.cs
- DataGridViewCell.cs
- HandlerBase.cs
- _HelperAsyncResults.cs
- FormsIdentity.cs
- StylusTouchDevice.cs
- AnyAllSearchOperator.cs
- ComPlusTypeValidator.cs
- MaskedTextBoxTextEditor.cs
- SHA1Managed.cs
- IndependentlyAnimatedPropertyMetadata.cs
- MethodAccessException.cs
- Int32Converter.cs
- UserControlAutomationPeer.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CSharpCodeProvider.cs
- SqlCommand.cs
- ActivityDesignerAccessibleObject.cs
- PowerModeChangedEventArgs.cs
- Privilege.cs
- PeerTransportListenAddressValidator.cs
- WebPartTracker.cs
- NetCodeGroup.cs
- CharEnumerator.cs
- RepeaterItemCollection.cs
- EntityDataSourceReferenceGroup.cs
- SoapExtensionStream.cs
- Thread.cs
- VisualStateChangedEventArgs.cs
- StringExpressionSet.cs
- SemanticAnalyzer.cs
- TableRowCollection.cs
- SQLString.cs
- XmlReader.cs
- FixedElement.cs
- PeerNameRecordCollection.cs
- ParameterToken.cs
- HttpException.cs
- Int16KeyFrameCollection.cs
- ElementFactory.cs
- WindowsAuthenticationEventArgs.cs
- ProfileManager.cs
- DragCompletedEventArgs.cs
- ConfigsHelper.cs
- DrawingBrush.cs
- ToolStripDesigner.cs
- StringUtil.cs
- CellQuery.cs
- HttpRequestMessageProperty.cs
- PageAsyncTaskManager.cs
- VariantWrapper.cs
- CaseInsensitiveComparer.cs
- BigInt.cs
- AsymmetricSignatureDeformatter.cs
- TypeBinaryExpression.cs
- AdornedElementPlaceholder.cs
- Effect.cs
- OperationCanceledException.cs
- StorageTypeMapping.cs
- FactoryId.cs