FindAddinAssembly() public method

public FindAddinAssembly ( string packageName ) : string
packageName string
return string
 public void Valid()
 {
     var processor = new AddinFinder
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNotNull( processor.FindAddinAssembly("SampleTask"));
 }
 public void NotFound()
 {
     var processor = new AddinFinder
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNull(processor.FindAddinAssembly("DoesNotExist"));
 }
Example #3
0
    public void NotFound()
    {
        var processor = new AddinFinder
        {
            AddinSearchPaths = new List <string>
            {
                Path.GetFullPath("Packages")
            }
        };

        processor.CacheAllFodyAddinDlls();
        Assert.IsNull(processor.FindAddinAssembly("DoesNotExist"));
    }
Example #4
0
    public void Valid()
    {
        var processor = new AddinFinder
        {
            AddinSearchPaths = new List <string>
            {
                Path.GetFullPath("Packages")
            }
        };

        processor.CacheAllFodyAddinDlls();
        Assert.IsNotNull(processor.FindAddinAssembly("SampleTask"));
    }