Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- WebBrowser.cs
- PriorityItem.cs
- MatrixCamera.cs
- TabItemAutomationPeer.cs
- webproxy.cs
- EmptyStringExpandableObjectConverter.cs
- ElementHostPropertyMap.cs
- RunInstallerAttribute.cs
- AgileSafeNativeMemoryHandle.cs
- ChannelToken.cs
- StsCommunicationException.cs
- ParameterCollection.cs
- StatusCommandUI.cs
- IPAddress.cs
- TableParagraph.cs
- FilteredAttributeCollection.cs
- SamlConditions.cs
- ToolStripDropDownItem.cs
- SchemaMapping.cs
- ObjectSet.cs
- SoapSchemaExporter.cs
- _Semaphore.cs
- DataGridViewTopLeftHeaderCell.cs
- LoginCancelEventArgs.cs
- BulletChrome.cs
- InkCanvasAutomationPeer.cs
- versioninfo.cs
- DataGridLinkButton.cs
- WebBrowsableAttribute.cs
- IPGlobalProperties.cs
- DiscoveryVersionConverter.cs
- CommonDialog.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- GenericXmlSecurityTokenAuthenticator.cs
- OleDbReferenceCollection.cs
- ErrorInfoXmlDocument.cs
- EastAsianLunisolarCalendar.cs
- DocumentOrderComparer.cs
- OleDbFactory.cs
- TreeNodeStyle.cs
- DockPattern.cs
- TabControlCancelEvent.cs
- ToolboxComponentsCreatingEventArgs.cs
- DynamicUpdateCommand.cs
- HighlightComponent.cs
- ReferencedCollectionType.cs
- Vector3DAnimationUsingKeyFrames.cs
- TableLayoutSettingsTypeConverter.cs
- DataGridViewDataErrorEventArgs.cs
- Matrix3D.cs
- ParameterToken.cs
- ClosableStream.cs
- PropertyValueUIItem.cs
- _ShellExpression.cs
- cache.cs
- HostedTransportConfigurationManager.cs
- MbpInfo.cs
- EndpointIdentity.cs
- BufferedWebEventProvider.cs
- PersonalizablePropertyEntry.cs
- Span.cs
- RemotingServices.cs
- CreateUserWizardDesigner.cs
- KeyMatchBuilder.cs
- HtmlInputRadioButton.cs
- MemberRelationshipService.cs
- BitmapEffectvisualstate.cs
- MemoryFailPoint.cs
- PolicyLevel.cs
- DeviceContext.cs
- BridgeDataRecord.cs
- SqlInternalConnection.cs
- ToolZone.cs
- SchemaEntity.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Utils.cs
- PropertyChangingEventArgs.cs
- InputBinding.cs
- TableLayoutColumnStyleCollection.cs
- IdentityModelStringsVersion1.cs
- DecoderFallbackWithFailureFlag.cs
- ImageCodecInfoPrivate.cs
- CodeMemberField.cs
- TransformConverter.cs
- CapabilitiesState.cs
- ToolStripKeyboardHandlingService.cs
- MSAAEventDispatcher.cs
- OptionalColumn.cs
- EntityDescriptor.cs
- ConfigurationValue.cs
- WeakHashtable.cs
- TextRunProperties.cs
- AdRotator.cs
- StringPropertyBuilder.cs
- HttpHandlerAction.cs
- GroupJoinQueryOperator.cs
- ConsoleCancelEventArgs.cs
- XmlSerializerSection.cs
- SegmentInfo.cs
- DefaultDialogButtons.cs