Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeObjectCreateExpression.cs / 1305376 / CodeObjectCreateExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ResourcesBuildProvider.cs
- ExpressionEditorAttribute.cs
- XmlSchemaAttributeGroup.cs
- WebControl.cs
- RichTextBox.cs
- XmlSchemaType.cs
- XmlComplianceUtil.cs
- HttpModuleAction.cs
- HtmlTableRow.cs
- TogglePatternIdentifiers.cs
- PropVariant.cs
- Rotation3DAnimationUsingKeyFrames.cs
- TextModifierScope.cs
- _CommandStream.cs
- CngKey.cs
- CorrelationResolver.cs
- Pair.cs
- StackBuilderSink.cs
- CompilerError.cs
- RectKeyFrameCollection.cs
- NaturalLanguageHyphenator.cs
- ColorEditor.cs
- ProcessInfo.cs
- SizeAnimationClockResource.cs
- DebugView.cs
- ClientTargetCollection.cs
- StylusDevice.cs
- InputScopeConverter.cs
- X509Utils.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ProxyAttribute.cs
- ObjectToken.cs
- FontFamilyValueSerializer.cs
- DifferencingCollection.cs
- EmptyEnumerator.cs
- FileRecordSequenceCompletedAsyncResult.cs
- COM2ColorConverter.cs
- QilValidationVisitor.cs
- SerializerDescriptor.cs
- UidPropertyAttribute.cs
- DnsPermission.cs
- TableCellCollection.cs
- RichTextBoxConstants.cs
- IdleTimeoutMonitor.cs
- TextElementAutomationPeer.cs
- TextReader.cs
- TraceSection.cs
- GlobalEventManager.cs
- WebBrowser.cs
- HtmlInputReset.cs
- FontEmbeddingManager.cs
- CookieProtection.cs
- FlatButtonAppearance.cs
- ParserExtension.cs
- BufferModesCollection.cs
- ComboBoxItem.cs
- ProviderIncompatibleException.cs
- StandardToolWindows.cs
- AccessDataSourceView.cs
- FileDetails.cs
- SearchForVirtualItemEventArgs.cs
- RelOps.cs
- XamlReaderConstants.cs
- DataKeyArray.cs
- PrintPageEvent.cs
- Range.cs
- Emitter.cs
- CryptoStream.cs
- StubHelpers.cs
- SecurityKeyType.cs
- EmptyControlCollection.cs
- XmlLangPropertyAttribute.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- PixelFormats.cs
- WebPartsSection.cs
- _LocalDataStoreMgr.cs
- XPathNodeList.cs
- ConfigXmlComment.cs
- HealthMonitoringSectionHelper.cs
- SignedXmlDebugLog.cs
- WebPartAuthorizationEventArgs.cs
- AttributeProviderAttribute.cs
- SqlServices.cs
- DataGridViewCellStateChangedEventArgs.cs
- ListView.cs
- DeclarationUpdate.cs
- XmlLanguageConverter.cs
- BinHexEncoding.cs
- XmlSchemaAttribute.cs
- Helper.cs
- StringAnimationUsingKeyFrames.cs
- DesignTimeType.cs
- TagPrefixAttribute.cs
- DoubleAnimationUsingPath.cs
- TreeIterator.cs
- DataSetUtil.cs
- SpStreamWrapper.cs
- NameValueFileSectionHandler.cs
- StoreItemCollection.Loader.cs
- ReflectionUtil.cs