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
- AVElementHelper.cs
- Odbc32.cs
- ConditionCollection.cs
- Gdiplus.cs
- ReadOnlyTernaryTree.cs
- EnumerableRowCollection.cs
- Console.cs
- CacheForPrimitiveTypes.cs
- WorkflowMessageEventArgs.cs
- GrammarBuilder.cs
- SoapSchemaExporter.cs
- TableAdapterManagerGenerator.cs
- MessageSecurityOverMsmqElement.cs
- KeyManager.cs
- MostlySingletonList.cs
- QueryGenerator.cs
- PackagingUtilities.cs
- SecurityPolicySection.cs
- _SslSessionsCache.cs
- TextContainerChangeEventArgs.cs
- LinkButton.cs
- ObjectAnimationUsingKeyFrames.cs
- FtpRequestCacheValidator.cs
- ResourceWriter.cs
- Substitution.cs
- iisPickupDirectory.cs
- RawStylusInputCustomData.cs
- TextOutput.cs
- ListViewItemMouseHoverEvent.cs
- _NegoState.cs
- AdCreatedEventArgs.cs
- WebBrowserUriTypeConverter.cs
- StorageScalarPropertyMapping.cs
- GridItemPatternIdentifiers.cs
- ReadOnlyTernaryTree.cs
- XmlSerializationReader.cs
- FontClient.cs
- Errors.cs
- PropertyPath.cs
- DataIdProcessor.cs
- FileUpload.cs
- SkinBuilder.cs
- UdpSocket.cs
- ItemChangedEventArgs.cs
- rsa.cs
- storepermission.cs
- TextEffect.cs
- IIS7ConfigurationLoader.cs
- ParameterElement.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- DetailsView.cs
- DomNameTable.cs
- Math.cs
- CheckBox.cs
- XPathDescendantIterator.cs
- TcpChannelListener.cs
- GridViewSelectEventArgs.cs
- ResolvedKeyFrameEntry.cs
- SafeWaitHandle.cs
- AccessKeyManager.cs
- WebPartZone.cs
- UserInitiatedNavigationPermission.cs
- ConsoleTraceListener.cs
- WebPartUtil.cs
- ButtonBaseAdapter.cs
- RelationshipEndCollection.cs
- CqlBlock.cs
- SqlDependency.cs
- DesignerHost.cs
- EdmFunctions.cs
- Mapping.cs
- AppSettingsExpressionBuilder.cs
- CannotUnloadAppDomainException.cs
- IDispatchConstantAttribute.cs
- ExtensionDataReader.cs
- IconHelper.cs
- ScriptModule.cs
- AtomMaterializerLog.cs
- SqlDataSource.cs
- XmlObjectSerializerReadContextComplex.cs
- Enlistment.cs
- PTManager.cs
- TextContainerHelper.cs
- ToolStripDropDownClosingEventArgs.cs
- NamespaceDecl.cs
- DataGridParentRows.cs
- TreeNodeBindingCollection.cs
- DynamicQueryableWrapper.cs
- CrossSiteScriptingValidation.cs
- WaitForChangedResult.cs
- IPipelineRuntime.cs
- Int16Animation.cs
- Imaging.cs
- ActivityWithResultValueSerializer.cs
- DocumentPageHost.cs
- PolyQuadraticBezierSegment.cs
- DiscardableAttribute.cs
- KeyValuePair.cs
- WebBrowserProgressChangedEventHandler.cs
- OutOfProcStateClientManager.cs