Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Visual3DCollection.cs
- GridToolTip.cs
- RegistryExceptionHelper.cs
- InputEventArgs.cs
- XmlLoader.cs
- IISUnsafeMethods.cs
- NamespaceCollection.cs
- Selector.cs
- ElementProxy.cs
- SafeLocalMemHandle.cs
- PageAsyncTask.cs
- DispatcherBuilder.cs
- UInt64.cs
- GPPOINT.cs
- Helpers.cs
- DirtyTextRange.cs
- RemoteWebConfigurationHostStream.cs
- PathParser.cs
- base64Transforms.cs
- EntityContainerEmitter.cs
- TextTreeTextElementNode.cs
- Atom10FormatterFactory.cs
- RelationshipWrapper.cs
- WebPartZone.cs
- FlowLayout.cs
- TextServicesHost.cs
- ExitEventArgs.cs
- AsyncDataRequest.cs
- BlurBitmapEffect.cs
- Queue.cs
- LayoutEngine.cs
- ConfigurationStrings.cs
- PeerNameRecordCollection.cs
- CodeTypeDeclaration.cs
- PropertyDescriptor.cs
- Point3DAnimationBase.cs
- BStrWrapper.cs
- CodePrimitiveExpression.cs
- PropertyGridCommands.cs
- XmlDocumentType.cs
- HttpCacheParams.cs
- ColumnClickEvent.cs
- DBConnectionString.cs
- DoubleLinkListEnumerator.cs
- SafeIUnknown.cs
- ClaimComparer.cs
- GridViewCancelEditEventArgs.cs
- AssemblyBuilderData.cs
- RolePrincipal.cs
- RuleSettingsCollection.cs
- AddressingProperty.cs
- StringToken.cs
- WebPartConnectionsConnectVerb.cs
- XPathChildIterator.cs
- EdmTypeAttribute.cs
- ClientSideQueueItem.cs
- ProgressBar.cs
- RemotingHelper.cs
- ImportedNamespaceContextItem.cs
- SubMenuStyleCollection.cs
- WebBrowserPermission.cs
- DataGridViewCellEventArgs.cs
- securitycriticaldataformultiplegetandset.cs
- NameValueCollection.cs
- BaseServiceProvider.cs
- HashRepartitionEnumerator.cs
- ProcessModuleCollection.cs
- SqlPersonalizationProvider.cs
- InputScopeAttribute.cs
- Debugger.cs
- Compiler.cs
- TemplateBindingExtension.cs
- PointLightBase.cs
- TableSectionStyle.cs
- Int32RectConverter.cs
- OdbcDataAdapter.cs
- WindowHideOrCloseTracker.cs
- XComponentModel.cs
- XmlSerializerAssemblyAttribute.cs
- XmlStreamedByteStreamReader.cs
- PackUriHelper.cs
- XPathNodeList.cs
- SerializationFieldInfo.cs
- SelectionRangeConverter.cs
- XamlTemplateSerializer.cs
- DBSqlParserTable.cs
- followingsibling.cs
- AssemblyInfo.cs
- UpDownEvent.cs
- ReaderContextStackData.cs
- TextTreeUndo.cs
- ParameterCollection.cs
- DocumentApplicationJournalEntry.cs
- XmlReflectionMember.cs
- NativeBuffer.cs
- Main.cs
- DefaultTextStoreTextComposition.cs
- MergeFilterQuery.cs
- PinnedBufferMemoryStream.cs
- SamlSubject.cs