Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ExtensionDataReader.cs
- CodeLabeledStatement.cs
- SHA1Managed.cs
- ImageListImage.cs
- ExpressionBuilderContext.cs
- FontWeight.cs
- StorageTypeMapping.cs
- TransactionBehavior.cs
- ServiceModelReg.cs
- ToggleButtonAutomationPeer.cs
- MouseCaptureWithinProperty.cs
- InsufficientMemoryException.cs
- RenderingBiasValidation.cs
- TypeConverterAttribute.cs
- TextRunCacheImp.cs
- SmtpDigestAuthenticationModule.cs
- Transactions.cs
- HostUtils.cs
- Oci.cs
- SQLBytesStorage.cs
- BeginCreateSecurityTokenRequest.cs
- TaskFileService.cs
- EntityDataSourceStatementEditor.cs
- TextCompositionEventArgs.cs
- EncryptedType.cs
- GridToolTip.cs
- X509Certificate2.cs
- FunctionCommandText.cs
- RectKeyFrameCollection.cs
- AdCreatedEventArgs.cs
- Quack.cs
- DataGridViewSortCompareEventArgs.cs
- TextTreeText.cs
- ImageCollectionEditor.cs
- GeneralTransform2DTo3D.cs
- CompiledXpathExpr.cs
- ScrollPatternIdentifiers.cs
- DynamicDataManager.cs
- FrameworkElement.cs
- PathFigureCollection.cs
- TemplateNameScope.cs
- PageOrientation.cs
- SqlInternalConnectionTds.cs
- RuntimeVariablesExpression.cs
- IssuedTokenServiceCredential.cs
- PkcsUtils.cs
- Certificate.cs
- WebPartEditorApplyVerb.cs
- ProxyManager.cs
- DataGridBoolColumn.cs
- Process.cs
- PointCollection.cs
- ProtectedConfigurationSection.cs
- WindowsListView.cs
- TrustSection.cs
- BoolExpressionVisitors.cs
- ExpressionLexer.cs
- RoutedEventArgs.cs
- SerializationAttributes.cs
- CallbackTimeoutsElement.cs
- HtmlTableCell.cs
- ToolboxControl.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PropertyReferenceSerializer.cs
- InheritanceContextHelper.cs
- SafeSecurityHandles.cs
- JsonFormatGeneratorStatics.cs
- xmlsaver.cs
- BindingValueChangedEventArgs.cs
- FileDataSourceCache.cs
- XmlHierarchicalDataSourceView.cs
- XslException.cs
- TokenCreationException.cs
- DriveInfo.cs
- SendMailErrorEventArgs.cs
- EntityContainer.cs
- SafeArrayTypeMismatchException.cs
- VoiceSynthesis.cs
- SemanticResolver.cs
- ResourceDisplayNameAttribute.cs
- AppDomainManager.cs
- SafeRightsManagementEnvironmentHandle.cs
- TextSelection.cs
- DataRecordInfo.cs
- DragEventArgs.cs
- CompilationAssemblyInstallComponent.cs
- BaseAddressPrefixFilterElementCollection.cs
- ObjectStateManagerMetadata.cs
- JournalEntry.cs
- InfoCardServiceInstallComponent.cs
- Label.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ListDataHelper.cs
- Transform.cs
- NetTcpBinding.cs
- OleDbSchemaGuid.cs
- GraphicsPathIterator.cs
- SingleAnimation.cs
- EntityViewGenerator.cs
- SessionState.cs