public void PluginRuntimeHandler_GetMethods_WhenValidDll_ExpectValidResults() { //------------Setup for test-------------------------- var source = CreatePluginSource(); var service = CreatePluginService(); //------------Execute Test--------------------------- var result = PluginServiceExecutionFactory.GetMethods(source.AssemblyLocation, source.AssemblyName, service.Namespace); //------------Assert Results------------------------- Assert.IsTrue(result.Count > 0); }
/// <summary> /// Gets the methods. /// </summary> /// <param name="assemblyLocation">The assembly location.</param> /// <param name="assemblyName">Name of the assembly.</param> /// <param name="fullName">The full name.</param> /// <returns></returns> public ServiceMethodList GetMethods(string assemblyLocation, string assemblyName, string fullName) { return(PluginServiceExecutionFactory.GetMethods(assemblyLocation, assemblyName, fullName)); }