Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / AddIn / AddIn / System / Addin / MiniReflection / MiniConstructorInfo.cs / 1305376 / MiniConstructorInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: MiniConstructorInfo ** ** Purpose: Represents a constructor. ** ===========================================================*/ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.AddIn.MiniReflection.MetadataReader; using System.Diagnostics.Contracts; namespace System.AddIn.MiniReflection { [Serializable] internal sealed class MiniConstructorInfo { private MiniParameterInfo[] _parameters; public MiniConstructorInfo(MiniParameterInfo[] parameters) { System.Diagnostics.Contracts.Contract.Requires(parameters != null); _parameters = parameters; } /* internal MiniConstructorInfo(System.Reflection.ConstructorInfo ctor) { System.Reflection.ParameterInfo[] parameters = ctor.GetParameters(); _parameters = new MiniParameterInfo[parameters.Length]; for (int i = 0; i < parameters.Length; i++) _parameters[i] = new MiniParameterInfo(new TypeInfo(parameters[i].ParameterType)); } */ public MiniParameterInfo[] GetParameters() { return _parameters; } } } // 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
- DesignerProperties.cs
- CompareValidator.cs
- VisualCollection.cs
- LongPath.cs
- SingleStorage.cs
- AmbiguousMatchException.cs
- AssemblyBuilder.cs
- OdbcConnectionFactory.cs
- ExpandedWrapper.cs
- CompiledELinqQueryState.cs
- AssemblyBuilder.cs
- IQueryable.cs
- TableItemPatternIdentifiers.cs
- Line.cs
- Hex.cs
- CallTemplateAction.cs
- CmsUtils.cs
- CollectionTraceRecord.cs
- SafeArchiveContext.cs
- VersionedStream.cs
- HtmlDocument.cs
- IfAction.cs
- DependencyObject.cs
- CodeMemberMethod.cs
- PlaceHolder.cs
- OutputWindow.cs
- OperandQuery.cs
- EdmItemCollection.cs
- DPAPIProtectedConfigurationProvider.cs
- MatrixCamera.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ViewBox.cs
- CacheSection.cs
- FixedSOMPageConstructor.cs
- ItemCheckEvent.cs
- TemplateApplicationHelper.cs
- Constant.cs
- StructuralObject.cs
- AsyncOperationLifetimeManager.cs
- KnownTypes.cs
- IDQuery.cs
- DataGridClipboardHelper.cs
- UpdateCommand.cs
- KeyEvent.cs
- KnownIds.cs
- XslNumber.cs
- HttpCapabilitiesBase.cs
- SessionStateContainer.cs
- TextServicesDisplayAttribute.cs
- BaseTreeIterator.cs
- ButtonStandardAdapter.cs
- CodeGroup.cs
- CodeNamespaceImport.cs
- MultiPropertyDescriptorGridEntry.cs
- CounterSample.cs
- RuleConditionDialog.cs
- EditorZone.cs
- GradientBrush.cs
- ArrayElementGridEntry.cs
- InputScopeManager.cs
- FormsAuthenticationEventArgs.cs
- ExpandCollapsePattern.cs
- ValidationResult.cs
- DockPatternIdentifiers.cs
- PersistenceException.cs
- FlowLayoutPanelDesigner.cs
- VarRefManager.cs
- LogWriteRestartAreaAsyncResult.cs
- PropertyMetadata.cs
- SurrogateEncoder.cs
- SettingsSavedEventArgs.cs
- SapiRecoInterop.cs
- CacheOutputQuery.cs
- HttpGetProtocolReflector.cs
- ProcessHost.cs
- PermissionSetTriple.cs
- BaseProcessProtocolHandler.cs
- HttpHandlerAction.cs
- CacheEntry.cs
- DictionaryCustomTypeDescriptor.cs
- VariableQuery.cs
- EventDescriptorCollection.cs
- ScalarType.cs
- OleServicesContext.cs
- WebPartUserCapability.cs
- PropertyPathWorker.cs
- StaticSiteMapProvider.cs
- SqlCaseSimplifier.cs
- RegistryKey.cs
- TextTreeRootNode.cs
- QueryStringParameter.cs
- MDIControlStrip.cs
- ClientRuntimeConfig.cs
- XmlElement.cs
- ToolStripButton.cs
- ListViewTableRow.cs
- Transform.cs
- ClrPerspective.cs
- InheritanceContextChangedEventManager.cs
- SetIterators.cs