public IndexModel( IInspectorService inspectorService, IOptions <CoreLoggerConfiguration> options) { _service = inspectorService ?? throw new ArgumentNullException($"Injection fail for {nameof(IInspectorService)} in CoreLogger.Inspector"); Options = options.Value ?? throw new ArgumentNullException($"Injection fail for {nameof(CoreLoggerConfiguration)} in CoreLogger.Inspector"); }
// Use this for initialization void Start() { UnityEngine.Debug.Log(typeof(NestedLevel2 <bool>).IsValueType); UnityEngine.Debug.Log(typeof(NestedLevel2 <bool>).IsEnum); m_InspectorService = new UnityInspectorService(); Build(); }
public RecapModel(IInspectorService inspectorService) { _service = inspectorService ?? throw new ArgumentNullException($"Injection fail for {nameof(IInspectorService)} in CoreLogger.Inspector"); Options = _service.Options; _loadDatasources(); }
public DetailModel(IInspectorService inspectorService) { _service = inspectorService ?? throw new ArgumentNullException($"Injection fail for {nameof(IInspectorService)} in CoreLogger.Inspector"); Options = _service.Options; }