mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2025-03-13 17:00:25 -09:00
got rudimentary IoC with PostSharp working
This commit is contained in:
parent
8686848d3e
commit
46bcc117e6
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ namespace MonoStockPortfolio
|
|||
|
||||
public override void OnGetValue(LocationInterceptionArgs args)
|
||||
{
|
||||
if(_context != null) _context = (Context)args.Instance;
|
||||
if(_context == null) _context = (Context)args.Instance;
|
||||
|
||||
var locationType = args.Location.LocationType;
|
||||
var instantiation = GetInstance(locationType);
|
||||
|
|
Loading…
Add table
Reference in a new issue