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")) )); }
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(); }
public void Read(ExtSection section) { service.Compilers = section.Entries.Select(s => new BackgroundCompilerInfo(s.Key, s.Element("editorKey"), TypeFinder.Get(s.Element("type")))).ToList(); }
public void Read(ExtSection section) { service.Providers = section.Entries.Select(s => new TaskProviderInfo(s.Key, s.Element("editorKey"), TypeFinder.Get(s.Element("type")))).ToList(); }
public void Read(ExtSection section) { service.Resolvers = section.Entries.Select(s => new ResolverInfo(s.Key, TypeFinder.Get(s.Element("type")))).ToList(); }
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(); }