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
- ObjectConverter.cs
- ChtmlPageAdapter.cs
- ResourceAssociationSet.cs
- Preprocessor.cs
- SecurityState.cs
- NetworkInformationException.cs
- ComboBox.cs
- AssemblyUtil.cs
- Stackframe.cs
- DetailsViewPageEventArgs.cs
- HiddenFieldPageStatePersister.cs
- SystemFonts.cs
- BrowserCapabilitiesCodeGenerator.cs
- BaseAddressElement.cs
- PropertyPathWorker.cs
- ToolStripOverflow.cs
- DoubleLinkListEnumerator.cs
- TransactionContextValidator.cs
- StreamedFramingRequestChannel.cs
- WindowsToolbar.cs
- AccessText.cs
- EncoderBestFitFallback.cs
- StylusButton.cs
- CollectionConverter.cs
- WorkflowStateRollbackService.cs
- XamlPoint3DCollectionSerializer.cs
- InternalCache.cs
- NavigationCommands.cs
- NetPeerTcpBindingCollectionElement.cs
- CalendarTable.cs
- Pen.cs
- QilXmlWriter.cs
- FormViewRow.cs
- UiaCoreApi.cs
- TreeViewCancelEvent.cs
- SatelliteContractVersionAttribute.cs
- FontFamilyConverter.cs
- GeneralTransform3DGroup.cs
- PackageDigitalSignatureManager.cs
- PropertyPathConverter.cs
- Cast.cs
- ObjectAssociationEndMapping.cs
- DesignBindingValueUIHandler.cs
- ValidationErrorEventArgs.cs
- SchemaImporterExtensionElement.cs
- _HelperAsyncResults.cs
- SurrogateEncoder.cs
- XmlToDatasetMap.cs
- FamilyTypeface.cs
- StrongNameKeyPair.cs
- Simplifier.cs
- AsynchronousChannel.cs
- CodeBinaryOperatorExpression.cs
- AnimationClock.cs
- SettingsBase.cs
- SqlUtil.cs
- ScriptDescriptor.cs
- FullTextLine.cs
- TextContainerChangeEventArgs.cs
- Comparer.cs
- PartialCachingControl.cs
- SectionInformation.cs
- ScriptingScriptResourceHandlerSection.cs
- CompiledQueryCacheKey.cs
- PnrpPermission.cs
- XmlAttributeCollection.cs
- TogglePatternIdentifiers.cs
- ObjectStateManagerMetadata.cs
- LogExtent.cs
- OptimisticConcurrencyException.cs
- BypassElementCollection.cs
- GridViewColumnHeader.cs
- EntityDataSourceQueryBuilder.cs
- ContainerUtilities.cs
- LoginView.cs
- XmlNamespaceMapping.cs
- EdmItemError.cs
- Rotation3DKeyFrameCollection.cs
- ConfigXmlText.cs
- KeyedHashAlgorithm.cs
- HealthMonitoringSectionHelper.cs
- DataGridColumnsPage.cs
- CompiledQueryCacheEntry.cs
- DeviceContexts.cs
- Item.cs
- SqlDataSource.cs
- FixedNode.cs
- PagedControl.cs
- SoapEnumAttribute.cs
- RegexStringValidator.cs
- PartManifestEntry.cs
- CodeTypeOfExpression.cs
- Typeface.cs
- ColorConvertedBitmap.cs
- CompressStream.cs
- FixedStringLookup.cs
- Automation.cs
- Blend.cs
- SynchronizationContext.cs
- MdiWindowListItemConverter.cs