Exemplo n.º 1
0
 public void Read(ExtSection section)
 {
     service.Views = section.Entries.Select(e => new ViewInfo(
                                                e.Key,
                                                e.Element("title"),
                                                e.Element("shortcut"),
                                                e.Element <ViewType>("kind"),
                                                TypeFinder.Get(e.Element("type"))
                                                ));
 }
Exemplo n.º 2
0
 public void Read(ExtSection section)
 {
     service.Editors = section.Entries.Select(e => new EditorInfo(
                                                  e.Key,
                                                  TypeFinder.Get(e.Element("type")),
                                                  TypeFinder.Get(e.Element("documentType")),
                                                  e.Element("displayName"),
                                                  e.Element("fileExtension"),
                                                  e.Element("fileExtensionDescription"),
                                                  e.Element <EditorFlags>("flags")))
                       .ToList();
 }
Exemplo n.º 3
0
 public void Read(ExtSection section)
 {
     service.Compilers = section.Entries.Select(s => new BackgroundCompilerInfo(s.Key, s.Element("editorKey"),
                                                                                TypeFinder.Get(s.Element("type")))).ToList();
 }
Exemplo n.º 4
0
 public void Read(ExtSection section)
 {
     service.Providers = section.Entries.Select(s => new TaskProviderInfo(s.Key, s.Element("editorKey"), TypeFinder.Get(s.Element("type")))).ToList();
 }
Exemplo n.º 5
0
 public void Read(ExtSection section)
 {
     service.Resolvers = section.Entries.Select(s => new ResolverInfo(s.Key, TypeFinder.Get(s.Element("type")))).ToList();
 }
Exemplo n.º 6
0
 public void Read(ExtSection section)
 {
     service.Configs = section.Entries.Select(e => new ConfigInfo(e.Key, TypeFinder.Get(e.Element("type")),
                                                                  e.Element("displayName"), e.Element("category"), e.Element <Int32>("position"), TypeFinder.Get(e.Element("widget")))).ToList();
 }