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
- UniqueIdentifierService.cs
- BamlMapTable.cs
- PenLineJoinValidation.cs
- AttributedMetaModel.cs
- PagerStyle.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DataContext.cs
- ToolTipService.cs
- BamlLocalizabilityResolver.cs
- TextEffect.cs
- ResolveNameEventArgs.cs
- CounterCreationData.cs
- MetabaseSettingsIis7.cs
- UriParserTemplates.cs
- DiscreteKeyFrames.cs
- ConvertersCollection.cs
- ArrayExtension.cs
- ToolStripHighContrastRenderer.cs
- DesignerLoader.cs
- BitmapEffectInputConnector.cs
- RC2CryptoServiceProvider.cs
- HttpSysSettings.cs
- DynamicValueConverter.cs
- StructuredTypeEmitter.cs
- HandlerBase.cs
- DiscreteKeyFrames.cs
- ApplicationDirectoryMembershipCondition.cs
- DataGridColumnCollection.cs
- EndpointNameMessageFilter.cs
- CustomBindingElement.cs
- DataContractJsonSerializer.cs
- StringToken.cs
- RadioButtonList.cs
- _NetRes.cs
- ClipboardProcessor.cs
- SendKeys.cs
- SerializationInfo.cs
- RsaKeyGen.cs
- ListViewInsertionMark.cs
- RealizationDrawingContextWalker.cs
- InteropAutomationProvider.cs
- SemanticTag.cs
- RegistrationProxy.cs
- ChannelEndpointElementCollection.cs
- ItemsControl.cs
- SafeFileMappingHandle.cs
- HttpHandlerAction.cs
- LineSegment.cs
- QueryStringConverter.cs
- SoapSchemaMember.cs
- DBConnection.cs
- SchemaConstraints.cs
- EventLogPermission.cs
- SoapExtension.cs
- lengthconverter.cs
- BooleanConverter.cs
- OdbcParameterCollection.cs
- DebuggerAttributes.cs
- TextBoxBase.cs
- EdmValidator.cs
- ConfigurationCollectionAttribute.cs
- XmlAtomicValue.cs
- LeftCellWrapper.cs
- StreamGeometry.cs
- AspNetHostingPermission.cs
- DataPager.cs
- SystemNetworkInterface.cs
- WindowsTooltip.cs
- CfgRule.cs
- IdentityNotMappedException.cs
- Line.cs
- MediaElementAutomationPeer.cs
- TableLayoutStyle.cs
- SecurityTokenSerializer.cs
- SqlGenerator.cs
- CompositionAdorner.cs
- CreateInstanceBinder.cs
- TaskFileService.cs
- TransactionBehavior.cs
- XmlResolver.cs
- FileVersionInfo.cs
- datacache.cs
- ButtonFlatAdapter.cs
- ConcurrentDictionary.cs
- HandlerWithFactory.cs
- _HTTPDateParse.cs
- StrongNameMembershipCondition.cs
- TypeDescriptionProviderAttribute.cs
- PictureBox.cs
- ProxyGenerationError.cs
- NativeMethods.cs
- GenerateDerivedKeyRequest.cs
- DurableServiceAttribute.cs
- TextElementCollection.cs
- SqlProcedureAttribute.cs
- X509Extension.cs
- EmissiveMaterial.cs
- ReaderWriterLockWrapper.cs
- ChunkedMemoryStream.cs
- Convert.cs