MethodBoundaryAspect.Fody - Altering asynchronous method behavior

MethodBoundaryAspect.Fody 要修改非同步方法的回傳值,可在 OnExit 方法實作時將 MethodExecutionArgs.ReturnValue 屬性值轉回 Task,用 ContinueWith 串接處理,並將之塞回 MethodExecutionArgs.ReturnValue。 ...

September 1, 2019 · 1 min · 259 words · Larry Nung

MethodBoundaryAspect.Fody - Altering method behavior

MethodBoundaryAspect.Fody 要修改方法的回傳值,可在 OnExit 方法實作時透過 MethodExecutionArgs.ReturnValue 屬性填入新的方法值。 ...

August 31, 2019 · 1 min · 175 words · Larry Nung

MethodBoundaryAspect.Fody - A Fody weaver which allows to decorate methods and hook into method start, method end and method exceptions

MethodBoundaryAspect.Fody 能透過 Fody 在程式編譯時將進出方法與方法丟出錯誤時的處理掛入系統中。 ...

August 29, 2019 · 1 min · 264 words · Larry Nung

ModuleInit.Fody - Adds a module initializer to an assembly

ModuleInit.Fody 能透過 Fody 在程式編譯時將初始化處理掛入系統程式中,能在系統一開始運行時做初始的動作。 ...

August 26, 2019 · 1 min · 134 words · Larry Nung

MethodTimer.Fody - Injects some very basic method timing code

MethodTimer.Fody 能透過 Fody 在程式編譯時將用來計算時間的程式放入掛有 TimeAttribute 的方法。 ...

August 26, 2019 · 1 min · 220 words · Larry Nung