Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeConstructor.cs / 1 / CodeConstructor.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;
///
///
/// Represents a class constructor.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeConstructor : CodeMemberMethod {
private CodeExpressionCollection baseConstructorArgs = new CodeExpressionCollection();
private CodeExpressionCollection chainedConstructorArgs = new CodeExpressionCollection();
///
///
/// Initializes a new instance of .
///
///
public CodeConstructor() {
Name = ".ctor";
}
///
///
/// Gets or sets the base constructor arguments.
///
///
public CodeExpressionCollection BaseConstructorArgs {
get {
return baseConstructorArgs;
}
}
///
///
/// Gets or sets the chained constructor arguments.
///
///
public CodeExpressionCollection ChainedConstructorArgs {
get {
return chainedConstructorArgs;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// 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;
///
///
/// Represents a class constructor.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeConstructor : CodeMemberMethod {
private CodeExpressionCollection baseConstructorArgs = new CodeExpressionCollection();
private CodeExpressionCollection chainedConstructorArgs = new CodeExpressionCollection();
///
///
/// Initializes a new instance of .
///
///
public CodeConstructor() {
Name = ".ctor";
}
///
///
/// Gets or sets the base constructor arguments.
///
///
public CodeExpressionCollection BaseConstructorArgs {
get {
return baseConstructorArgs;
}
}
///
///
/// Gets or sets the chained constructor arguments.
///
///
public CodeExpressionCollection ChainedConstructorArgs {
get {
return chainedConstructorArgs;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DictionaryBase.cs
- Overlapped.cs
- PermissionAttributes.cs
- ExceptionHandler.cs
- TextContainer.cs
- InputProcessorProfiles.cs
- FixedTextView.cs
- WindowsAuthenticationModule.cs
- UpdateTracker.cs
- PropertyChangingEventArgs.cs
- DataPagerCommandEventArgs.cs
- FastEncoder.cs
- OleDbCommand.cs
- DesigntimeLicenseContextSerializer.cs
- HttpResponse.cs
- ContainerAction.cs
- ProxyAssemblyNotLoadedException.cs
- EventLogConfiguration.cs
- HttpListener.cs
- ConfigurationUtility.cs
- ObjectToIdCache.cs
- BamlLocalizableResourceKey.cs
- ObjectQuery.cs
- SerializationStore.cs
- SocketAddress.cs
- DBCommand.cs
- HtmlControl.cs
- ContainerParaClient.cs
- ModifiableIteratorCollection.cs
- DeflateStreamAsyncResult.cs
- FormViewDeletedEventArgs.cs
- BamlTreeUpdater.cs
- SecurityPolicySection.cs
- RangeValidator.cs
- MethodSet.cs
- SafeThreadHandle.cs
- ClientEventManager.cs
- PreviewPrintController.cs
- PropertyPathWorker.cs
- WhereQueryOperator.cs
- SafeCloseHandleCritical.cs
- StateManagedCollection.cs
- StringStorage.cs
- HttpCapabilitiesBase.cs
- PropertyNames.cs
- SpanIndex.cs
- ReferenceEqualityComparer.cs
- FactoryRecord.cs
- LZCodec.cs
- _NestedMultipleAsyncResult.cs
- URLAttribute.cs
- ZipIOCentralDirectoryFileHeader.cs
- SqlWebEventProvider.cs
- MediaTimeline.cs
- isolationinterop.cs
- EntityObject.cs
- ExpressionBuilder.cs
- LabelAutomationPeer.cs
- ErrorHandler.cs
- FileNameEditor.cs
- EventLogPropertySelector.cs
- Size.cs
- COSERVERINFO.cs
- CompilerState.cs
- DataServiceResponse.cs
- SqlVersion.cs
- Int64Storage.cs
- MarshalDirectiveException.cs
- EncodingInfo.cs
- InfoCardSymmetricCrypto.cs
- ByteStack.cs
- ResourceReferenceKeyNotFoundException.cs
- MimeWriter.cs
- StorageFunctionMapping.cs
- HttpCapabilitiesEvaluator.cs
- CustomErrorsSectionWrapper.cs
- XhtmlTextWriter.cs
- Table.cs
- UserControlParser.cs
- BoundColumn.cs
- HttpContextServiceHost.cs
- Literal.cs
- DPCustomTypeDescriptor.cs
- OpenFileDialog.cs
- UnionCqlBlock.cs
- RC2.cs
- ConnectionInterfaceCollection.cs
- Win32.cs
- ContractsBCL.cs
- TextEditor.cs
- SmtpException.cs
- DateTimeValueSerializer.cs
- ExpressionEditorAttribute.cs
- DescriptionAttribute.cs
- UriTemplateTable.cs
- Int64Converter.cs
- Bidi.cs
- CustomPopupPlacement.cs
- SqlXml.cs
- OpCodes.cs