Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / AddIn / AddIn / System / Addin / MiniReflection / MiniCustomAttributeInfo.cs / 1305376 / MiniCustomAttributeInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: MiniParameterInfo ** ** Purpose: Represents a method parameter. ** ===========================================================*/ 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 MiniCustomAttributeInfo { private String _typeName; private MiniCustomAttributeFixedArgInfo[] _fixedArgs; private MiniCustomAttributeNamedArgInfo[] _namedArgs; public MiniCustomAttributeInfo(String typeName, MiniCustomAttributeFixedArgInfo[] fixedArgs, MiniCustomAttributeNamedArgInfo[] namedArgs) { _typeName = typeName; _fixedArgs = fixedArgs; _namedArgs = namedArgs; } /* public String TypeName { get { return _typeName; } } */ public MiniCustomAttributeFixedArgInfo[] FixedArgs { get { return _fixedArgs; } } public MiniCustomAttributeNamedArgInfo[] NamedArgs { get { return _namedArgs; } } } [Serializable] internal sealed class MiniCustomAttributeNamedArgInfo { private String _argName; private CorElementType _type; private Object _value; public MiniCustomAttributeNamedArgInfo(CorElementType type, String name, Object value) { _argName = name; _type = type; _value = value; } public Object Value { get { return _value; } } public String Name { get {return _argName; } } /* public CorElementType CorElementType { get { return _type; } } */ } [Serializable] internal sealed class MiniCustomAttributeFixedArgInfo { private Object _value; public MiniCustomAttributeFixedArgInfo(Object value) { _value = value; } public Object Value { get { return _value; } } } } // 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
- IdentityValidationException.cs
- Operator.cs
- DashStyle.cs
- DebugTrace.cs
- TabControl.cs
- RenderingEventArgs.cs
- RotationValidation.cs
- DesignerTransactionCloseEvent.cs
- ObjectStorage.cs
- NumberSubstitution.cs
- RelationshipEndMember.cs
- GenericPrincipal.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- PrivateFontCollection.cs
- HebrewCalendar.cs
- KeySpline.cs
- ManagementDateTime.cs
- mactripleDES.cs
- RegexFCD.cs
- Pen.cs
- DBDataPermissionAttribute.cs
- ColumnMapCopier.cs
- DropSource.cs
- ImageField.cs
- ProcessStartInfo.cs
- ModelUIElement3D.cs
- TabControlCancelEvent.cs
- XmlReader.cs
- GridViewDeleteEventArgs.cs
- SocketPermission.cs
- ThreadStateException.cs
- NeutralResourcesLanguageAttribute.cs
- Configuration.cs
- NestedContainer.cs
- XmlName.cs
- DeviceContext2.cs
- UIHelper.cs
- SecurityResources.cs
- MethodExecutor.cs
- CatalogPartDesigner.cs
- Configuration.cs
- Logging.cs
- SchemaImporterExtensionElement.cs
- TypeInfo.cs
- CqlQuery.cs
- PeerTransportListenAddressValidator.cs
- CachedTypeface.cs
- TextCompositionEventArgs.cs
- EntityDataSourceView.cs
- EventItfInfo.cs
- Shape.cs
- IdleTimeoutMonitor.cs
- SmtpNetworkElement.cs
- CellConstantDomain.cs
- ModuleConfigurationInfo.cs
- StrongTypingException.cs
- DataServices.cs
- JsonWriter.cs
- CanonicalXml.cs
- PhysicalOps.cs
- TableLayoutSettingsTypeConverter.cs
- EditorZoneBase.cs
- UriParserTemplates.cs
- RootProfilePropertySettingsCollection.cs
- MobilePage.cs
- EditorPartCollection.cs
- InsufficientExecutionStackException.cs
- Propagator.Evaluator.cs
- URI.cs
- StringStorage.cs
- Canvas.cs
- BindUriHelper.cs
- TextProperties.cs
- TransformerInfo.cs
- Context.cs
- XmlDomTextWriter.cs
- ActivatedMessageQueue.cs
- Header.cs
- CompositeDataBoundControl.cs
- CodeLinePragma.cs
- EventSinkHelperWriter.cs
- DesignerActionPanel.cs
- DeferredTextReference.cs
- SystemIPAddressInformation.cs
- InstanceDataCollection.cs
- Pts.cs
- TransformCryptoHandle.cs
- TriggerActionCollection.cs
- IndexerNameAttribute.cs
- HtmlControlPersistable.cs
- AnimationLayer.cs
- ContentTypeSettingClientMessageFormatter.cs
- Propagator.Evaluator.cs
- DefaultPrintController.cs
- TextSpanModifier.cs
- DbException.cs
- ActivationServices.cs
- HtmlMeta.cs
- HttpServerVarsCollection.cs
- TiffBitmapEncoder.cs