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
- ZipFileInfoCollection.cs
- _RequestCacheProtocol.cs
- ApplicationInfo.cs
- Int64AnimationBase.cs
- WorkflowEnvironment.cs
- Multiply.cs
- BitmapEffectGroup.cs
- X509CertificateStore.cs
- TextElementAutomationPeer.cs
- DataSourceSelectArguments.cs
- CacheHelper.cs
- BitmapPalettes.cs
- AnimationClockResource.cs
- CommonProperties.cs
- DesigntimeLicenseContextSerializer.cs
- ListViewInsertionMark.cs
- TextElementEditingBehaviorAttribute.cs
- ToolStripPanelSelectionBehavior.cs
- Model3D.cs
- unsafeIndexingFilterStream.cs
- WebPartDisplayModeCollection.cs
- GlobalizationSection.cs
- DataTableCollection.cs
- RegexReplacement.cs
- XComponentModel.cs
- ThumbButtonInfo.cs
- Debug.cs
- DynamicDataRoute.cs
- ZoneMembershipCondition.cs
- GroupBoxAutomationPeer.cs
- ExpressionPrefixAttribute.cs
- RectValueSerializer.cs
- NameTable.cs
- HandleCollector.cs
- XmlReflectionMember.cs
- CatalogZoneAutoFormat.cs
- Size.cs
- DrawingDrawingContext.cs
- MetadataItemEmitter.cs
- RegistryConfigurationProvider.cs
- PassportAuthenticationModule.cs
- StagingAreaInputItem.cs
- StickyNoteAnnotations.cs
- PointLightBase.cs
- ExtendLockAsyncResult.cs
- WebConvert.cs
- TemplateColumn.cs
- ExceptionUtil.cs
- ToolStripOverflow.cs
- FontConverter.cs
- RecordBuilder.cs
- ConfigurationElementProperty.cs
- BooleanProjectedSlot.cs
- ToolStripStatusLabel.cs
- EDesignUtil.cs
- _NetRes.cs
- DataBoundControlHelper.cs
- RectAnimationClockResource.cs
- SqlFunctionAttribute.cs
- XmlSchemaAll.cs
- XmlReaderSettings.cs
- TextBox.cs
- NumberSubstitution.cs
- TdsValueSetter.cs
- StringAnimationBase.cs
- DuplicateMessageDetector.cs
- ConfigXmlText.cs
- LabelLiteral.cs
- TextReturnReader.cs
- EntityDataSourceContainerNameConverter.cs
- IsolatedStorageException.cs
- TCPClient.cs
- FontFamily.cs
- OptimizedTemplateContentHelper.cs
- SynchronizationLockException.cs
- DesignTimeVisibleAttribute.cs
- DoubleAnimationBase.cs
- StyleSheet.cs
- PropertyInfoSet.cs
- AgileSafeNativeMemoryHandle.cs
- SamlAuthorizationDecisionStatement.cs
- ListViewPagedDataSource.cs
- Descriptor.cs
- QueryStringParameter.cs
- OpacityConverter.cs
- RemotingAttributes.cs
- LineUtil.cs
- RowToParametersTransformer.cs
- UiaCoreApi.cs
- SqlTypeConverter.cs
- AesCryptoServiceProvider.cs
- SystemNetworkInterface.cs
- CodeStatement.cs
- SpnEndpointIdentity.cs
- FixedDocumentPaginator.cs
- AdCreatedEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- QueryCacheKey.cs
- Highlights.cs
- RowToParametersTransformer.cs