static public BasicAvaloniaEngine Initialize(AppBuilder builder) { INSTANCE = new BasicAvaloniaEngine(builder); MarkedMethods <BasicAvaloniaEngineInitilizerAttribute> .InvokeFilteredMarkedStaticMethods(INSTANCE); return(GetInstance()); }
static public T ExecuteEditDistinction <T, P1>(P1 p1) { return((T)MarkedMethods <ATTRIBUTE_TYPE> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.CanEffectiveParametersHold <P1>(), Filterer_MethodInfo.CanReturnInto <T>() ).GetFirst().Invoke(null, p1)); }
static public void ExecuteNoReturnEditDistinction <P1>(P1 p1) { MarkedMethods <ATTRIBUTE_TYPE> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.CanEffectiveParametersHold <P1>(), Filterer_MethodInfo.HasNoReturn() ).GetFirst().Invoke(null, p1); }
static public T ExecuteEditDistinction <T, P1, P2, P3, P4, P5, P6, P7, P8, P9>(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) { return((T)MarkedMethods <ATTRIBUTE_TYPE> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.CanEffectiveParametersHold <P1, P2, P3, P4, P5, P6, P7, P8, P9>(), Filterer_MethodInfo.CanReturnInto <T>() ).GetFirst().Invoke(null, p1, p2, p3, p4, p5, p6, p7, p8, p9)); }
static public void ExecuteNoReturnEditDistinction <P1, P2, P3, P4, P5, P6, P7, P8>(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) { MarkedMethods <ATTRIBUTE_TYPE> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.CanEffectiveParametersHold <P1, P2, P3, P4, P5, P6, P7, P8>(), Filterer_MethodInfo.HasNoReturn() ).GetFirst().Invoke(null, p1, p2, p3, p4, p5, p6, p7, p8); }
static private void Initialize() { MarkedMethods <EditorInitializerAttribute> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.HasNoEffectiveParameters() ).ProcessSandboxed( m => m.Invoke(null, Empty.Array <object>()), e => Debug.LogException(e) ); }
private TyonTypeHandler_Deconstructable() { deconstruction_invokers = new OperationCache <BasicConversionInvoker, Type>( "deconstruction_invokers", t => MarkedMethods <DefinitionDeconstructionAttribute> .GetFilteredMarkedStaticMethods(Filterer_MethodInfo.CanEffectiveParametersHold(t)) .GetFirst() .IfNotNull(m => m.GetBasicConversionInvoker()) ); }
public ILValue GetILValue() { return(MarkedMethods <MExpFunctionAttribute> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.IsNamed(GetId()) ) .GetFirst() .GetStaticILMethodInvokation( GetMExpExpressions().Convert(e => e.GetILValue()) )); }
static private void GenerateCode() { REGENERATION_COUNT = 0; MarkedMethods <CodeGeneratorAttribute> .GetFilteredMarkedStaticMethods( Filterer_MethodInfo.HasNoEffectiveParameters() ).ProcessSandboxed( m => m.Invoke(null, Empty.Array <object>()), e => Debug.LogException(e) ); if (REGENERATION_COUNT >= 1) { AssetDatabase.Refresh(); } }