public static AnnotationData GetPropertyIntDef(this AndroidAnnotationsSupport api, string managedTypeName, string managedPropertyName) { if (managedPropertyName == null) { throw new ArgumentNullException(nameof(managedPropertyName)); } return(api.GetAnnotations(managedTypeName, managedPropertyName).Data().FirstOrDefault(is_intdef)); }
public static AnnotationData GetMethodParameterIntDef(this AndroidAnnotationsSupport api, string managedTypeName, string managedMethodName, string [] managedParameterTypes, int parameterIndex) { if (managedMethodName == null) { throw new ArgumentNullException(nameof(managedMethodName)); } if (managedParameterTypes == null) { throw new ArgumentNullException(nameof(managedParameterTypes)); } return(api.GetAnnotations(managedTypeName, managedMethodName, managedParameterTypes, parameterIndex).Data().FirstOrDefault(is_intdef)); }
public static IEnumerable <AnnotatedItem> GetAnnotations(this AndroidAnnotationsSupport api, string managedTypeName, string managedMethodName, string [] parameterTypes, int parameterIndex) { return(api.GetAnnotations(new ManagedApiQuery { TypeName = managedTypeName, MemberName = managedMethodName, Arguments = parameterTypes, ParameterIndex = parameterIndex })); }
public static IEnumerable <AnnotatedItem> GetAnnotations(this AndroidAnnotationsSupport api, string managedTypeName, string managedMemberName) { return(api.GetAnnotations(new ManagedApiQuery { TypeName = managedTypeName, MemberName = managedMemberName })); }
public static AnnotationData GetIntDef(this AndroidAnnotationsSupport api, ManagedApiQuery query) { return(api.GetAnnotations(query).Data().FirstOrDefault(is_intdef)); }