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
- WebReferencesBuildProvider.cs
- WebPartDeleteVerb.cs
- TagPrefixCollection.cs
- CharacterMetricsDictionary.cs
- ValueTypeFixupInfo.cs
- Baml2006ReaderContext.cs
- ToolboxBitmapAttribute.cs
- AssertUtility.cs
- TreeNodeBinding.cs
- SafeNativeMethods.cs
- SendMailErrorEventArgs.cs
- WSUtilitySpecificationVersion.cs
- CodeActivityMetadata.cs
- OledbConnectionStringbuilder.cs
- MessageSmuggler.cs
- ImmComposition.cs
- DisplayMemberTemplateSelector.cs
- TaskFileService.cs
- DefaultCommandConverter.cs
- HostVisual.cs
- ContentWrapperAttribute.cs
- FragmentQueryKB.cs
- XamlPathDataSerializer.cs
- HostingEnvironmentException.cs
- DrawingGroup.cs
- FontStretches.cs
- CorrelationValidator.cs
- AnnotationMap.cs
- SQLDateTime.cs
- ChangeTracker.cs
- PreservationFileWriter.cs
- BrowserInteropHelper.cs
- ConfigXmlText.cs
- ZipIOModeEnforcingStream.cs
- PathParser.cs
- exports.cs
- TextTreeInsertElementUndoUnit.cs
- OleServicesContext.cs
- AssemblyInfo.cs
- DefaultExpression.cs
- PolyLineSegment.cs
- ChtmlFormAdapter.cs
- SoapSchemaMember.cs
- CharEntityEncoderFallback.cs
- SerialErrors.cs
- ByteKeyFrameCollection.cs
- FramingEncoders.cs
- ObjectItemAttributeAssemblyLoader.cs
- CSharpCodeProvider.cs
- Quaternion.cs
- HiddenField.cs
- ValidationErrorEventArgs.cs
- ContentHostHelper.cs
- DataGridViewToolTip.cs
- SourceElementsCollection.cs
- ParameterModifier.cs
- Itemizer.cs
- ExpanderAutomationPeer.cs
- WebPartConnectVerb.cs
- TimeSpanOrInfiniteValidator.cs
- HttpServerVarsCollection.cs
- DataAdapter.cs
- UInt16Storage.cs
- VisualStateManager.cs
- ElementProxy.cs
- CompoundFileIOPermission.cs
- ListViewItemEventArgs.cs
- HtmlTableCellCollection.cs
- DoubleCollectionConverter.cs
- DataGridRowAutomationPeer.cs
- SizeConverter.cs
- WebInvokeAttribute.cs
- Point3DCollection.cs
- __TransparentProxy.cs
- BamlTreeUpdater.cs
- Model3DGroup.cs
- UnsafeNativeMethodsTablet.cs
- DefaultBindingPropertyAttribute.cs
- LocalizationParserHooks.cs
- SamlSubjectStatement.cs
- AttributedMetaModel.cs
- IxmlLineInfo.cs
- MimeBasePart.cs
- HostVisual.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ManagementClass.cs
- SplayTreeNode.cs
- UpdateTranslator.cs
- PathTooLongException.cs
- RichTextBoxAutomationPeer.cs
- Soap12ServerProtocol.cs
- BuildProvidersCompiler.cs
- AccessorTable.cs
- FormViewUpdateEventArgs.cs
- PerformanceCountersElement.cs
- TextServicesContext.cs
- ResourceSetExpression.cs
- DesignColumnCollection.cs
- ObjectPropertyMapping.cs
- AdRotator.cs