private void InitComposableService <T>(T t) { IComposableService c = t as IComposableService; if (c != null) { c.SetServiceProvider(this); } }
private void InitComposableService <T>(T t) { IComposableService c = t as IComposableService; c?.SetServiceProvider(this); }