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
- VScrollBar.cs
- XmlSchemaExporter.cs
- ComponentCodeDomSerializer.cs
- ReservationNotFoundException.cs
- TemplateComponentConnector.cs
- SignalGate.cs
- SoundPlayer.cs
- BookmarkWorkItem.cs
- SyndicationSerializer.cs
- Set.cs
- FrameworkContextData.cs
- CorrelationManager.cs
- Rect.cs
- DiscoveryMessageProperty.cs
- SkipStoryboardToFill.cs
- CachedPathData.cs
- Thumb.cs
- MTConfigUtil.cs
- ObjectCloneHelper.cs
- LingerOption.cs
- XhtmlBasicValidationSummaryAdapter.cs
- LockCookie.cs
- GrammarBuilder.cs
- DesignerDataSchemaClass.cs
- AstNode.cs
- XPathPatternBuilder.cs
- ToolStripOverflow.cs
- Comparer.cs
- HitTestDrawingContextWalker.cs
- validationstate.cs
- ArrayList.cs
- Inflater.cs
- RangeValueProviderWrapper.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WindowsListViewItem.cs
- SignedInfo.cs
- ByteAnimationBase.cs
- ReadOnlyPropertyMetadata.cs
- DataGridComboBoxColumn.cs
- TTSEvent.cs
- LineGeometry.cs
- ArrayList.cs
- GeometryGroup.cs
- Suspend.cs
- Baml2006ReaderContext.cs
- EventEntry.cs
- DbProviderServices.cs
- BooleanSwitch.cs
- PasswordBoxAutomationPeer.cs
- EntitySet.cs
- MobileSysDescriptionAttribute.cs
- QilInvokeEarlyBound.cs
- TypeGeneratedEventArgs.cs
- SyndicationSerializer.cs
- KeyInterop.cs
- ThreadAttributes.cs
- EncodingTable.cs
- Border.cs
- DecoderFallbackWithFailureFlag.cs
- PropertyPushdownHelper.cs
- FunctionImportElement.cs
- ControlParameter.cs
- ConsoleEntryPoint.cs
- DataListComponentEditor.cs
- WebPartDisplayModeEventArgs.cs
- DbMetaDataFactory.cs
- C14NUtil.cs
- GradientStopCollection.cs
- OneOf.cs
- PrintPreviewControl.cs
- NativeWindow.cs
- OdbcException.cs
- SqlClientWrapperSmiStreamChars.cs
- CommonProperties.cs
- WizardPanelChangingEventArgs.cs
- AccessViolationException.cs
- unitconverter.cs
- PriorityQueue.cs
- Resources.Designer.cs
- ExpressionNormalizer.cs
- QuadraticEase.cs
- PointHitTestParameters.cs
- PropertyDescriptor.cs
- typedescriptorpermission.cs
- ImageButton.cs
- DataRecordInternal.cs
- Convert.cs
- DataServiceRequest.cs
- FloaterBaseParagraph.cs
- PermissionSet.cs
- SafeProcessHandle.cs
- NameSpaceEvent.cs
- UniqueIdentifierService.cs
- ValidationHelper.cs
- PixelFormat.cs
- ListView.cs
- HttpErrorTraceRecord.cs
- DataGridViewColumn.cs
- TextHidden.cs
- FixedPageProcessor.cs