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
- OleDbConnectionInternal.cs
- XmlPreloadedResolver.cs
- COM2ColorConverter.cs
- MeshGeometry3D.cs
- InternalPermissions.cs
- NavigatorOutput.cs
- QueryGeneratorBase.cs
- InvalidateEvent.cs
- GridViewDeleteEventArgs.cs
- BufferModeSettings.cs
- NumberSubstitution.cs
- QilStrConcatenator.cs
- CustomPopupPlacement.cs
- ColorConverter.cs
- SimpleLine.cs
- DataBindingCollection.cs
- CategoryNameCollection.cs
- HatchBrush.cs
- FullTextBreakpoint.cs
- TextDecorationLocationValidation.cs
- KnowledgeBase.cs
- AdornerPresentationContext.cs
- PointConverter.cs
- Int64KeyFrameCollection.cs
- Dynamic.cs
- RTLAwareMessageBox.cs
- XmlText.cs
- CreateUserWizardStep.cs
- PageRouteHandler.cs
- Visual3DCollection.cs
- RegexCharClass.cs
- PerformanceCounter.cs
- DisplayMemberTemplateSelector.cs
- AnonymousIdentificationSection.cs
- HMACRIPEMD160.cs
- Soap.cs
- PersonalizablePropertyEntry.cs
- MemberPath.cs
- TextRangeEditLists.cs
- InvalidTimeZoneException.cs
- ButtonBase.cs
- TextPointerBase.cs
- RegexGroupCollection.cs
- StrongNameIdentityPermission.cs
- COMException.cs
- Span.cs
- AvtEvent.cs
- DockPatternIdentifiers.cs
- BufferModeSettings.cs
- PageCatalogPart.cs
- ZoneIdentityPermission.cs
- ProviderUtil.cs
- AutomationPeer.cs
- OracleCommand.cs
- IndependentAnimationStorage.cs
- TextAutomationPeer.cs
- RandomNumberGenerator.cs
- GenericAuthenticationEventArgs.cs
- SystemIPv6InterfaceProperties.cs
- NewArrayExpression.cs
- GuidelineCollection.cs
- DynamicExpression.cs
- DataServiceOperationContext.cs
- DataError.cs
- WebControlsSection.cs
- PropertyCondition.cs
- LogWriteRestartAreaState.cs
- FlowDocumentPage.cs
- DataGridColumnCollection.cs
- ChangeInterceptorAttribute.cs
- XNodeValidator.cs
- CompositeControl.cs
- HierarchicalDataBoundControl.cs
- ScrollChrome.cs
- BamlRecords.cs
- MimeWriter.cs
- GeneratedCodeAttribute.cs
- PerformanceCounterNameAttribute.cs
- Int32CollectionConverter.cs
- SharedUtils.cs
- ValidatingReaderNodeData.cs
- ListBox.cs
- formatter.cs
- IndicCharClassifier.cs
- HashAlgorithm.cs
- X509Certificate2Collection.cs
- GeometryCombineModeValidation.cs
- FullTrustAssemblyCollection.cs
- DynamicRendererThreadManager.cs
- BinaryParser.cs
- StateItem.cs
- UnsupportedPolicyOptionsException.cs
- SortDescription.cs
- ContentDefinition.cs
- ContextStack.cs
- XmlSerializableWriter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ConfigurationLocation.cs
- DataRecordObjectView.cs
- PropertyPathWorker.cs