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; } }
public PluginInvocatorProvider(AbstractNeoServer neoServer) : base(typeof(PluginInvocator)) { this._neoServer = neoServer; }