Src/Black.Beard.ComponentModel/ComponentModel/MethodDiscoveryAssembly.cs
/// <summary>
/// Return list of method for the specified arguments
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="returnType"></param>
/// <param name="methodSign"></param>
/// <returns></returns>
/// <exception cref="ArgumentNullException">returnType</exception>
/// <exception cref="ArgumentNullException">methodSign</exception>
Return list of method for the specified arguments
Return list of method for the specified arguments
public virtual IEnumerable<(Type, ExposeClassAttribute, ExposeMethodAttribute, MethodInfo)> GetActions(BindingFlags bindings, Type returnType, List<Type> methodSign) 
        {
            this.methodSign = methodSign;
            this.returnType = returnType;
            Type[] types = GetTypes();
            var actions = GetActions_Impl(bindings, types);
            if (!string.IsNullOrEmpty(_startWith))
                return actions.Where(c => c.Item3.DisplayName.StartsWith(_startWith)).ToList();
            return actions;
        }
public virtual IEnumerable < ( Type , ExposeClassAttribute , ExposeMethodAttribute , MethodInfo ) > GetActions ( BindingFlags bindings , Type returnType , List < Type > methodSign ) { this . methodSign = methodSign ; this . returnType = returnType ; Type [ ] types = GetTypes ( ) ; var actions = GetActions_Impl ( bindings , types ) ; if ( ! string . IsNullOrEmpty ( _startWith ) ) return actions . Where ( c => c . Item3 . DisplayName . StartsWith ( _startWith ) ) . ToList ( ) ; return actions ; }
Return list of method for the specified arguments
Return list of method for the specified arguments
//where T : Context
None
None
None
bindings
BindingFlags
returnType
Type
None
methodSign
List<Type>
None
typeparam
None