Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- EventLogTraceListener.cs
- EntitySqlQueryCacheEntry.cs
- CompiledRegexRunnerFactory.cs
- PathGeometry.cs
- DetailsViewRowCollection.cs
- PeerTransportSecuritySettings.cs
- StylusPointPropertyId.cs
- FullTrustAssembly.cs
- Debug.cs
- CustomError.cs
- TextProviderWrapper.cs
- TagPrefixCollection.cs
- CallbackValidator.cs
- GuidTagList.cs
- Span.cs
- ChildTable.cs
- SafeFindHandle.cs
- CellPartitioner.cs
- WebPartActionVerb.cs
- ConfigXmlSignificantWhitespace.cs
- FixedTextView.cs
- ImplicitInputBrush.cs
- AttributedMetaModel.cs
- DBSqlParserColumnCollection.cs
- WebConvert.cs
- RegexParser.cs
- ByteStreamMessageEncodingElement.cs
- NoClickablePointException.cs
- LookupBindingPropertiesAttribute.cs
- Schema.cs
- ServiceModelReg.cs
- NGCSerializationManager.cs
- DesignerActionVerbList.cs
- Visitor.cs
- BuilderPropertyEntry.cs
- _NegoStream.cs
- GridPatternIdentifiers.cs
- EntityContainerRelationshipSet.cs
- SimpleHandlerBuildProvider.cs
- AsyncWaitHandle.cs
- QilGenerator.cs
- WebPartHelpVerb.cs
- Scene3D.cs
- ClientBuildManagerCallback.cs
- TypefaceMap.cs
- AutomationPatternInfo.cs
- CryptoStream.cs
- Conditional.cs
- SubordinateTransaction.cs
- InfoCard.cs
- DropSource.cs
- HtmlImage.cs
- MachineKeyConverter.cs
- RelationshipDetailsRow.cs
- RectangleHotSpot.cs
- KeyPressEvent.cs
- FormsAuthenticationUser.cs
- EditorPartCollection.cs
- DesignTimeVisibleAttribute.cs
- AVElementHelper.cs
- TagMapCollection.cs
- FixedDocumentSequencePaginator.cs
- PageContent.cs
- FlowLayoutPanel.cs
- HttpConfigurationContext.cs
- NativeObjectSecurity.cs
- ViewStateException.cs
- BuildDependencySet.cs
- RotateTransform.cs
- CodeEventReferenceExpression.cs
- WindowsGraphics2.cs
- GuidelineSet.cs
- HttpPostedFile.cs
- OracleRowUpdatingEventArgs.cs
- WebRequestModulesSection.cs
- TableStyle.cs
- Literal.cs
- FilteredXmlReader.cs
- SettingsProperty.cs
- ArithmeticException.cs
- SymmetricKeyWrap.cs
- StrokeNodeOperations.cs
- MulticastNotSupportedException.cs
- UnhandledExceptionEventArgs.cs
- FixedTextView.cs
- Region.cs
- ObjectDisposedException.cs
- DBSchemaTable.cs
- EdmProperty.cs
- ScrollPatternIdentifiers.cs
- AstTree.cs
- DataControlFieldCollection.cs
- WeakReferenceList.cs
- FunctionNode.cs
- DateTimeOffsetAdapter.cs
- URLIdentityPermission.cs
- DependencyPropertyConverter.cs
- XmlDownloadManager.cs
- DataSourceBooleanViewSchemaConverter.cs
- PageTheme.cs