Xamarin Public Jenkins f3e3aab35a Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
2016-02-22 11:00:01 -05:00

39 lines
1.2 KiB
C#

// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
// ICustomAttributeProvider is an interface that is implemented by reflection
//
// <OWNER>WESU</OWNER>
// objects which support custom attributes.
//
// <EMAIL>Author: darylo & Rajesh Chandrashekaran (rajeshc)</EMAIL>
// Date: July 99
//
namespace System.Reflection {
using System;
// Interface does not need to be marked with the serializable attribute
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICustomAttributeProvider
{
// Return an array of custom attributes identified by Type
Object[] GetCustomAttributes(Type attributeType, bool inherit);
// Return an array of all of the custom attributes (named attributes are not included)
Object[] GetCustomAttributes(bool inherit);
// Returns true if one or more instance of attributeType is defined on this member.
bool IsDefined (Type attributeType, bool inherit);
}
}