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) { app.Services = section.Entries.Select(ent => new ServiceInfo(ent.Key, TypeFinder.Get(ent.Element("interface")), TypeFinder.Get(ent.Element("type")), ent.Children.Select(e => e.Key))); }
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(); }
public void Read(ExtSection section) { service.Groups = section.Entries.Select<ExtEntry,StyleGroupInfo>(ProcessGroup); }
public void Read(ExtSection section) { service.Providers = section.Entries.Select(s => new TaskProviderInfo(s.Key, s.Element("editorKey"), TypeFinder.Get(s.Element("type")))).ToList(); }