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
- OleDbWrapper.cs
- FileUpload.cs
- GraphicsPath.cs
- SqlError.cs
- PhysicalFontFamily.cs
- CodeArgumentReferenceExpression.cs
- RemotingServices.cs
- ToolStripMenuItem.cs
- NativeMethods.cs
- TemplateField.cs
- EntitySqlQueryBuilder.cs
- DbCommandTree.cs
- StrokeNodeOperations2.cs
- SqlCommandBuilder.cs
- OwnerDrawPropertyBag.cs
- BamlRecords.cs
- JsonClassDataContract.cs
- NotificationContext.cs
- TypeHelper.cs
- ComboBoxItem.cs
- SafeRightsManagementPubHandle.cs
- WindowsRichEditRange.cs
- ToolStripPanelRow.cs
- ClientBuildManagerCallback.cs
- RuntimeVariableList.cs
- ApplyTemplatesAction.cs
- RelativeSource.cs
- WpfGeneratedKnownTypes.cs
- OdbcCommandBuilder.cs
- ProcessModule.cs
- UITypeEditor.cs
- ClientRolePrincipal.cs
- BidPrivateBase.cs
- DispatcherFrame.cs
- _Connection.cs
- TypeElementCollection.cs
- SmiXetterAccessMap.cs
- GeneralTransformCollection.cs
- TrackingServices.cs
- SqlDataSourceStatusEventArgs.cs
- ObjectToIdCache.cs
- PartialCachingControl.cs
- XamlSerializationHelper.cs
- FontEmbeddingManager.cs
- CodeSnippetExpression.cs
- Assert.cs
- WebUtil.cs
- SessionStateUtil.cs
- HtmlTextArea.cs
- ConnectionsZone.cs
- UIHelper.cs
- AlignmentYValidation.cs
- HandlerMappingMemo.cs
- ScaleTransform.cs
- OperationResponse.cs
- CodeLabeledStatement.cs
- AvTraceFormat.cs
- Matrix3D.cs
- ProfileProvider.cs
- SourceLocationProvider.cs
- FixedBufferAttribute.cs
- DataObjectEventArgs.cs
- CommonBehaviorsSection.cs
- ClientOperationFormatterProvider.cs
- Properties.cs
- ListView.cs
- TabControlEvent.cs
- UriTemplateLiteralPathSegment.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- XmlSequenceWriter.cs
- ItemCheckEvent.cs
- WindowsSysHeader.cs
- LightweightCodeGenerator.cs
- BamlWriter.cs
- RenderDataDrawingContext.cs
- HttpDictionary.cs
- XmlCharType.cs
- WindowsGraphicsWrapper.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlNamedNodeMap.cs
- DataGridViewImageCell.cs
- ADConnectionHelper.cs
- TdsParser.cs
- ProfileEventArgs.cs
- ExecutionEngineException.cs
- DirectoryNotFoundException.cs
- StrongTypingException.cs
- PropertyKey.cs
- MonikerBuilder.cs
- ColorAnimation.cs
- UrlPath.cs
- UrlMappingCollection.cs
- NodeFunctions.cs
- ToolStripManager.cs
- GeneralTransformGroup.cs
- EmptyQuery.cs
- Types.cs
- ToolboxItemFilterAttribute.cs
- CodeBlockBuilder.cs