Skip to content
Snippets Groups Projects
Commit d26df859 authored by Tobias's avatar Tobias
Browse files

New folder structure

parent 2255ae40
No related branches found
No related tags found
No related merge requests found
Showing
with 13 additions and 6 deletions
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace ControlComponents.Core
{
public interface IControlComponentProvider
{
T GetComponent<T>(string id) where T : IControlComponent;
IEnumerable<T> GetComponents<T>();
}
}
\ No newline at end of file
......@@ -5,12 +5,6 @@ using System.Linq;
namespace ControlComponents.Core
{
public interface IControlComponentProvider
{
T GetComponent<T>(string id) where T : IControlComponent;
IEnumerable<T> GetComponents<T>();
}
// TODO there can be also providers to search the network and create network cc to access the real one (factory)
// => http://wiki.eclipse.org/BaSyx_/_Documentation_/_Components_/_Registry
public class ControlComponentProvider : Dictionary<string, IControlComponent>, IControlComponentProvider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment