コード例 #1
0
ファイル: Scouter.cs プロジェクト: cralexns/Traktor
        public Scouter(ScouterSettings settings)
        {
            this.Settings = settings;

            this.Indexers = Assembly.GetExecutingAssembly().GetTypes().Where(x => typeof(IIndexer).IsAssignableFrom(x) && !x.IsInterface && !x.IsAbstract)
                            .Select(x => Activator.CreateInstance(x) as IIndexer).ToList();
        }
コード例 #2
0
ファイル: Scouter.cs プロジェクト: cralexns/Traktor
 public void UpdateSettings(ScouterSettings settings)
 {
     this.Settings = settings;
 }