28 private readonly Action<Security> _initializer;
37 if (_initializer ==
null)
39 throw new InvalidOperationException(
"FuncSecurityInitializer constructor requires an action taking a single security instance as an argument");
49 _initializer = initializer;
58 _initializer(security);