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
- SurrogateChar.cs
- ExpressionBindingCollection.cs
- XmlSchemaAttributeGroup.cs
- FaultReasonText.cs
- Section.cs
- AttachmentCollection.cs
- FormView.cs
- BaseComponentEditor.cs
- Highlights.cs
- CompositeFontFamily.cs
- WindowsToolbar.cs
- Floater.cs
- NativeMethods.cs
- DependencyPropertyChangedEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- ChameleonKey.cs
- SmiEventSink.cs
- ColumnTypeConverter.cs
- ContentValidator.cs
- CaseStatementSlot.cs
- PageBorderless.cs
- BuilderPropertyEntry.cs
- DrawingGroup.cs
- SpecularMaterial.cs
- EntityProviderServices.cs
- ConsoleCancelEventArgs.cs
- PageScaling.cs
- HttpCacheParams.cs
- StorageEntityContainerMapping.cs
- PropertyDescriptors.cs
- XhtmlConformanceSection.cs
- KnownTypesProvider.cs
- MessageQueueConverter.cs
- AttachmentService.cs
- EventHandlerList.cs
- DataPager.cs
- BasePattern.cs
- EmbeddedMailObject.cs
- Size.cs
- MetabaseSettingsIis7.cs
- RemoteX509Token.cs
- ReadOnlyCollectionBase.cs
- SqlBulkCopyColumnMappingCollection.cs
- HeaderLabel.cs
- AssociationType.cs
- WindowsTitleBar.cs
- Range.cs
- StackBuilderSink.cs
- InstanceHandleConflictException.cs
- SubpageParaClient.cs
- GraphicsContext.cs
- ProcessStartInfo.cs
- HttpModulesInstallComponent.cs
- TransportSecurityHelpers.cs
- HttpRequestTraceRecord.cs
- CursorConverter.cs
- SolidColorBrush.cs
- SectionRecord.cs
- WorkerRequest.cs
- BitStack.cs
- PerformanceCounterPermission.cs
- TableCellsCollectionEditor.cs
- RuntimeCompatibilityAttribute.cs
- DataPagerFieldCommandEventArgs.cs
- InstalledFontCollection.cs
- VirtualPathProvider.cs
- TextServicesHost.cs
- SchemaCollectionCompiler.cs
- EntityDataSource.cs
- UIPermission.cs
- DataSourceHelper.cs
- ResolveMatches11.cs
- ElementNotEnabledException.cs
- OleDbPropertySetGuid.cs
- RuleRefElement.cs
- EventSchemaTraceListener.cs
- WindowsClaimSet.cs
- TextClipboardData.cs
- CopyEncoder.cs
- DeviceContext2.cs
- AnchorEditor.cs
- DataServices.cs
- ServicePointManagerElement.cs
- RestHandler.cs
- BitmapEffectrendercontext.cs
- ComponentRenameEvent.cs
- XsltOutput.cs
- EntityClassGenerator.cs
- WebPartTransformerCollection.cs
- Fonts.cs
- _Connection.cs
- _OverlappedAsyncResult.cs
- Stopwatch.cs
- DataRecordObjectView.cs
- PropertyValueUIItem.cs
- SmtpReplyReader.cs
- ListBoxItemWrapperAutomationPeer.cs
- OdbcFactory.cs
- SignedXml.cs
- DataControlReferenceCollection.cs