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
- ParallelRangeManager.cs
- Hyperlink.cs
- FontWeights.cs
- ObjectSet.cs
- TextCompositionManager.cs
- NavigationExpr.cs
- ProcessRequestArgs.cs
- XsdBuildProvider.cs
- EmulateRecognizeCompletedEventArgs.cs
- SetStoryboardSpeedRatio.cs
- DrawToolTipEventArgs.cs
- HttpHandlersSection.cs
- AsyncStreamReader.cs
- FileLevelControlBuilderAttribute.cs
- CommandLibraryHelper.cs
- CheckBoxFlatAdapter.cs
- LoginCancelEventArgs.cs
- ArraySubsetEnumerator.cs
- baseaxisquery.cs
- DataGridDetailsPresenterAutomationPeer.cs
- SiteMapDataSourceView.cs
- HttpContextBase.cs
- XmlAttributeCollection.cs
- sqlser.cs
- ServicePointManagerElement.cs
- FileSystemInfo.cs
- WebCategoryAttribute.cs
- WorkflowInstanceProxy.cs
- PresentationSource.cs
- NetWebProxyFinder.cs
- AssertSection.cs
- FontStretch.cs
- MasterPageParser.cs
- SmiXetterAccessMap.cs
- PageFunction.cs
- Triplet.cs
- TraceLevelHelper.cs
- SQLGuid.cs
- IndexedString.cs
- SimpleType.cs
- ValueProviderWrapper.cs
- FieldNameLookup.cs
- Constants.cs
- ImageAnimator.cs
- PerformanceCounterCategory.cs
- ConfigXmlAttribute.cs
- BaseParser.cs
- GridView.cs
- TypeForwardedToAttribute.cs
- CodeTypeMember.cs
- TextEditorSelection.cs
- AppDomainCompilerProxy.cs
- ChtmlPageAdapter.cs
- StateRuntime.cs
- StateInitializationDesigner.cs
- Adorner.cs
- HtmlMeta.cs
- MimeTypePropertyAttribute.cs
- ParameterModifier.cs
- AssemblyBuilderData.cs
- WebResourceAttribute.cs
- BamlLocalizableResource.cs
- Glyph.cs
- SubqueryRules.cs
- EpmSyndicationContentDeSerializer.cs
- WebReferencesBuildProvider.cs
- InstalledFontCollection.cs
- WebResourceAttribute.cs
- DynamicMethod.cs
- DateTimeConverter2.cs
- HwndSubclass.cs
- MSAAWinEventWrap.cs
- ListBoxItemWrapperAutomationPeer.cs
- Psha1DerivedKeyGenerator.cs
- ListenUriMode.cs
- HtmlElementCollection.cs
- NullToBooleanConverter.cs
- ClientTarget.cs
- CheckBoxPopupAdapter.cs
- CookieProtection.cs
- ExpandSegment.cs
- BookmarkOptionsHelper.cs
- SQLDecimal.cs
- RegexCharClass.cs
- DataGridRowClipboardEventArgs.cs
- TraceFilter.cs
- WindowsGraphicsCacheManager.cs
- RecognizeCompletedEventArgs.cs
- ScrollBar.cs
- WebPartPersonalization.cs
- SqlMethodAttribute.cs
- CodeLinePragma.cs
- ResXResourceReader.cs
- EnumMember.cs
- GroupDescription.cs
- ComponentResourceKey.cs
- CheckBox.cs
- TypefaceCollection.cs
- DateTimeParse.cs
- PopupRoot.cs