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
- CodeGenerator.cs
- BaseTemplatedMobileComponentEditor.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- _LocalDataStore.cs
- SqlDataSourceRefreshSchemaForm.cs
- ProfileParameter.cs
- Point4DConverter.cs
- PageStatePersister.cs
- CommandEventArgs.cs
- TemplateKeyConverter.cs
- PerformanceCounterLib.cs
- SettingsBindableAttribute.cs
- DataGridCommandEventArgs.cs
- FixedFindEngine.cs
- WorkflowMarkupSerializationException.cs
- _NativeSSPI.cs
- HuffCodec.cs
- ToolStripDesignerAvailabilityAttribute.cs
- HtmlWindow.cs
- SchemaEntity.cs
- KnownAssemblyEntry.cs
- Flowchart.cs
- FormViewDeletedEventArgs.cs
- InternalResources.cs
- Vector.cs
- TableItemPattern.cs
- ToolboxCategoryItems.cs
- IItemContainerGenerator.cs
- AuthenticationManager.cs
- Screen.cs
- AutomationElement.cs
- FormViewDeletedEventArgs.cs
- TimeoutStream.cs
- Missing.cs
- DESCryptoServiceProvider.cs
- ClipboardData.cs
- RsaSecurityTokenParameters.cs
- GenericPrincipal.cs
- OracleTimeSpan.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ListViewGroupConverter.cs
- HttpCachePolicy.cs
- SrgsRule.cs
- IProvider.cs
- ItemContainerPattern.cs
- BaseParagraph.cs
- BamlWriter.cs
- SevenBitStream.cs
- DataGridColumn.cs
- StylusPointPropertyUnit.cs
- PasswordTextContainer.cs
- MultipleViewPattern.cs
- FixedSchema.cs
- SmtpTransport.cs
- InheritablePropertyChangeInfo.cs
- ServiceChannelProxy.cs
- Literal.cs
- FixedSOMTableCell.cs
- Effect.cs
- BufferModeSettings.cs
- TdsParserSafeHandles.cs
- TextBoxDesigner.cs
- EnumDataContract.cs
- HtmlInputSubmit.cs
- MailDefinition.cs
- PropertyNames.cs
- FieldAccessException.cs
- ProfileGroupSettingsCollection.cs
- Bits.cs
- TreeNodeEventArgs.cs
- NameNode.cs
- DataStreamFromComStream.cs
- Localizer.cs
- HttpWebResponse.cs
- ReadWriteObjectLock.cs
- TextSelectionHelper.cs
- DbConnectionOptions.cs
- BamlLocalizabilityResolver.cs
- AuthorizationRule.cs
- OleStrCAMarshaler.cs
- FontFamilyValueSerializer.cs
- TextTreeUndo.cs
- X509UI.cs
- SqlDataSourceFilteringEventArgs.cs
- GregorianCalendarHelper.cs
- ExpressionBindings.cs
- ListControl.cs
- CompiledRegexRunnerFactory.cs
- StateBag.cs
- ServiceDesigner.cs
- SynchronizedRandom.cs
- DynamicRendererThreadManager.cs
- XmlExtensionFunction.cs
- ActivationArguments.cs
- BasicCellRelation.cs
- CacheHelper.cs
- GPPOINTF.cs
- FieldDescriptor.cs
- WebResourceUtil.cs
- LinearQuaternionKeyFrame.cs