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
- CancelAsyncOperationRequest.cs
- DataGridCellEditEndingEventArgs.cs
- XmlValidatingReader.cs
- MultilineStringConverter.cs
- SByte.cs
- List.cs
- CroppedBitmap.cs
- RowsCopiedEventArgs.cs
- DoubleLinkListEnumerator.cs
- ConditionChanges.cs
- LateBoundBitmapDecoder.cs
- DataGridViewToolTip.cs
- Solver.cs
- InternalMappingException.cs
- IsolatedStorageFile.cs
- HttpDictionary.cs
- TableLayoutRowStyleCollection.cs
- PersonalizationStateInfo.cs
- SerializableAttribute.cs
- FormsAuthenticationCredentials.cs
- IDispatchConstantAttribute.cs
- TransformerConfigurationWizardBase.cs
- InvalidDataException.cs
- ObjectDataSourceView.cs
- ClientConfigPaths.cs
- WpfKnownMember.cs
- BindableTemplateBuilder.cs
- ErrorFormatter.cs
- AbstractExpressions.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- GZipStream.cs
- ObjectConverter.cs
- ParentUndoUnit.cs
- InstallerTypeAttribute.cs
- RSATokenProvider.cs
- SqlDependencyListener.cs
- BitmapSource.cs
- SelectionWordBreaker.cs
- FontNameEditor.cs
- InkPresenter.cs
- ListControlDesigner.cs
- ExpressionBuilder.cs
- JournalEntry.cs
- PermissionRequestEvidence.cs
- ColumnTypeConverter.cs
- CustomAttribute.cs
- Win32Native.cs
- Hashtable.cs
- PreProcessor.cs
- EntityCollection.cs
- CatchBlock.cs
- TextureBrush.cs
- AssemblyHelper.cs
- ParameterInfo.cs
- TrackingExtract.cs
- KnownIds.cs
- DataFormats.cs
- HttpApplicationFactory.cs
- WebPartHelpVerb.cs
- XmlSecureResolver.cs
- SerializerWriterEventHandlers.cs
- RotateTransform3D.cs
- FilterRepeater.cs
- DataGridViewDataConnection.cs
- HelpProvider.cs
- DrawingServices.cs
- FixedBufferAttribute.cs
- MainMenu.cs
- DataTableReaderListener.cs
- RoutedUICommand.cs
- TypeUtil.cs
- EllipseGeometry.cs
- WindowsFormsHostPropertyMap.cs
- HandleValueEditor.cs
- CompilationSection.cs
- FutureFactory.cs
- Latin1Encoding.cs
- SQLByte.cs
- DocumentEventArgs.cs
- DataControlPagerLinkButton.cs
- TargetControlTypeCache.cs
- TdsEnums.cs
- UshortList2.cs
- InfiniteTimeSpanConverter.cs
- TraceInternal.cs
- MultiPageTextView.cs
- QuaternionAnimation.cs
- CodeTypeReferenceExpression.cs
- CachedFontFamily.cs
- TagElement.cs
- WebCodeGenerator.cs
- ZipIOFileItemStream.cs
- WpfPayload.cs
- Point.cs
- DeclarativeCatalogPart.cs
- PropertyGridEditorPart.cs
- TextFindEngine.cs
- HwndSourceKeyboardInputSite.cs
- RestHandlerFactory.cs
- SocketInformation.cs