System.MonoCustomAttrs.GetCustomAttributes C# (CSharp) Метод

GetCustomAttributes() статический приватный Метод

static private GetCustomAttributes ( ICustomAttributeProvider obj, bool inherit ) : object[]
obj ICustomAttributeProvider
inherit bool
Результат object[]
		internal static object[] GetCustomAttributes (ICustomAttributeProvider obj, bool inherit)
		{
			if (obj == null)
				throw new ArgumentNullException ("obj");

			if (!inherit)
				return (object[]) GetCustomAttributesBase (obj, null).Clone ();

			return GetCustomAttributes (obj, typeof (MonoCustomAttrs), inherit);
		}

Same methods

MonoCustomAttrs::GetCustomAttributes ( ICustomAttributeProvider obj, Type attributeType, bool inherit ) : object[]

Usage Example

Пример #1
0
 public static Attribute[] GetCustomAttributes(ParameterInfo element, bool inherit) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, inherit);
All Usage Examples Of System.MonoCustomAttrs::GetCustomAttributes