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
- XmlQueryOutput.cs
- ResourceSet.cs
- BitmapEffectInput.cs
- ThreadAttributes.cs
- AssemblyAttributesGoHere.cs
- DateTimeSerializationSection.cs
- mda.cs
- RootBuilder.cs
- XmlSchemaComplexType.cs
- DateTimeParse.cs
- FrameworkObject.cs
- AttributeQuery.cs
- ReachPrintTicketSerializer.cs
- CodeFieldReferenceExpression.cs
- TextTreeUndoUnit.cs
- TypefaceMap.cs
- ServiceMemoryGates.cs
- XmlEntity.cs
- XmlImplementation.cs
- MailHeaderInfo.cs
- DrawToolTipEventArgs.cs
- BufferedReadStream.cs
- ToolStripPanelSelectionGlyph.cs
- SubMenuStyle.cs
- TextRangeAdaptor.cs
- PropVariant.cs
- ApplicationFileParser.cs
- DictionaryBase.cs
- SafeCoTaskMem.cs
- GcHandle.cs
- ComEventsMethod.cs
- EpmTargetPathSegment.cs
- TextDocumentView.cs
- MethodToken.cs
- RIPEMD160Managed.cs
- TriggerAction.cs
- MetadataUtilsSmi.cs
- SqlDataReader.cs
- UnmanagedMarshal.cs
- Pen.cs
- QueryLifecycle.cs
- XmlNamespaceDeclarationsAttribute.cs
- StylusPointCollection.cs
- DebuggerAttributes.cs
- RichTextBoxConstants.cs
- ServiceDescriptionSerializer.cs
- XmlSchemaExternal.cs
- PinnedBufferMemoryStream.cs
- XsltException.cs
- ImageMapEventArgs.cs
- TextServicesLoader.cs
- WCFServiceClientProxyGenerator.cs
- CancellationHandlerDesigner.cs
- CorePropertiesFilter.cs
- ElementHostPropertyMap.cs
- SerializationAttributes.cs
- translator.cs
- LogicalTreeHelper.cs
- TypeUsageBuilder.cs
- SecurityContextSecurityTokenParameters.cs
- ProcessHost.cs
- GAC.cs
- DataPager.cs
- OneToOneMappingSerializer.cs
- PixelFormat.cs
- XmlReflectionImporter.cs
- mediapermission.cs
- Empty.cs
- CorrelationManager.cs
- Operators.cs
- JavaScriptString.cs
- CorrelationToken.cs
- SQLResource.cs
- codemethodreferenceexpression.cs
- SessionMode.cs
- DataServiceQuery.cs
- EventSinkHelperWriter.cs
- DescendantBaseQuery.cs
- KeyTimeConverter.cs
- StandardToolWindows.cs
- WindowClosedEventArgs.cs
- CompilationSection.cs
- TimerElapsedEvenArgs.cs
- _SingleItemRequestCache.cs
- DependencyPropertyValueSerializer.cs
- XsltCompileContext.cs
- GenericWebPart.cs
- FixedSOMPage.cs
- InfoCardRSACryptoProvider.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CharAnimationUsingKeyFrames.cs
- TypeUtil.cs
- EntityCommandCompilationException.cs
- TextDecoration.cs
- NetStream.cs
- ReferenceService.cs
- GZipDecoder.cs
- ProgressiveCrcCalculatingStream.cs
- WindowsToolbarItemAsMenuItem.cs
- SourceItem.cs