private void OnEnable() { this.fileWriterFlags.Clear(); var types = AnalyzerUtil.GetInterfaceType <IAnalyzeFileWriter>(); foreach (var t in types) { this.fileWriterFlags.Add(new FileWriterFlag() { name = t.Name, type = t, flag = true }); } }