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
- PackagePartCollection.cs
- MachineKeyConverter.cs
- FileDialog.cs
- UriTemplateClientFormatter.cs
- TdsParserSessionPool.cs
- Debug.cs
- StructuredType.cs
- Pen.cs
- ColorContextHelper.cs
- ActivityCodeDomSerializationManager.cs
- TdsParameterSetter.cs
- ServerTooBusyException.cs
- QueryRelOp.cs
- CmsInterop.cs
- ConversionContext.cs
- QueryOptionExpression.cs
- FormView.cs
- FilterElement.cs
- TemplateControl.cs
- ADConnectionHelper.cs
- SolidBrush.cs
- CookieParameter.cs
- BasicHttpMessageCredentialType.cs
- SmtpReplyReader.cs
- NamespaceDecl.cs
- PassportPrincipal.cs
- Control.cs
- SoapException.cs
- CodeChecksumPragma.cs
- PersonalizationProviderCollection.cs
- QuaternionAnimation.cs
- OutputCacheProfile.cs
- TextBoxAutoCompleteSourceConverter.cs
- TrackingConditionCollection.cs
- DynamicResourceExtensionConverter.cs
- SettingsSavedEventArgs.cs
- ListBase.cs
- WebPartEditorCancelVerb.cs
- ClockGroup.cs
- QuaternionKeyFrameCollection.cs
- PageWrapper.cs
- MetadataCollection.cs
- AppDomain.cs
- LinqDataSourceDisposeEventArgs.cs
- Cursor.cs
- ExpressionPrinter.cs
- ConstructorNeedsTagAttribute.cs
- DeploymentSection.cs
- BufferedMessageData.cs
- NotImplementedException.cs
- UInt16Storage.cs
- _SpnDictionary.cs
- UnsafePeerToPeerMethods.cs
- MimeFormatter.cs
- WebPartUtil.cs
- ComponentEvent.cs
- MeasureItemEvent.cs
- EnumConverter.cs
- AssemblySettingAttributes.cs
- RecognizerStateChangedEventArgs.cs
- GB18030Encoding.cs
- Array.cs
- WebPartRestoreVerb.cs
- DataFieldConverter.cs
- CodeMemberProperty.cs
- ShapeTypeface.cs
- ColumnHeader.cs
- UnsafeNativeMethods.cs
- CapabilitiesSection.cs
- MembershipUser.cs
- UnaryOperationBinder.cs
- InputProcessorProfiles.cs
- GridErrorDlg.cs
- ListBox.cs
- MouseEvent.cs
- DragCompletedEventArgs.cs
- SqlConnection.cs
- SafeBitVector32.cs
- RetrieveVirtualItemEventArgs.cs
- EditorPartCollection.cs
- EntityDataSourceWizardForm.cs
- GridSplitterAutomationPeer.cs
- XhtmlBasicObjectListAdapter.cs
- BinHexEncoding.cs
- TextDecoration.cs
- ActivityCodeDomSerializationManager.cs
- ACL.cs
- ExcludeFromCodeCoverageAttribute.cs
- Buffer.cs
- TextChange.cs
- FaultPropagationRecord.cs
- SoapSchemaImporter.cs
- ComponentResourceManager.cs
- CharAnimationBase.cs
- Color.cs
- Registry.cs
- CompiledELinqQueryState.cs
- ErrorTableItemStyle.cs
- UserControlBuildProvider.cs
- ConversionContext.cs