Beispiel #1
0
 public RepresentationFormatRepository(AbstractNeoServer injectorProvider)
 {
     this._injectorProvider = injectorProvider;
     this._formats          = new Dictionary <MediaType, RepresentationFormat>();
     foreach (RepresentationFormat format in Service.load(typeof(RepresentationFormat)))
     {
         _formats[format.MediaType] = format;
     }
 }
Beispiel #2
0
 public PluginInvocatorProvider(AbstractNeoServer neoServer) : base(typeof(PluginInvocator))
 {
     this._neoServer = neoServer;
 }