Esempio n. 1
0
        public TestAssembly(string thisPath, string version, string configuration, string framework)
        {
            Version  = version;
            Location = Path.GetFullPath(Path.Combine(thisPath, "..", "..", "..", "..", "Functions.Dll", "bin", version, configuration, framework, "FunctionsDll.dll"));

            AssemblyObject = Assembly.LoadFile(Location);
            FunctionsType  = AssemblyObject.GetType("Functions.FunctionsDll");
            TestFunction   = FunctionsType.GetMethod("TestFunction");
        }
Esempio n. 2
0
 public FunctionsTypeDTO(FunctionsType functionType)
 {
     FunctionTypeId = functionType.FunctionTypeId;
     FunctionType   = functionType.FunctionType;
 }