CacheAllFodyAddinDlls() публичный Метод

public CacheAllFodyAddinDlls ( ) : void
Результат void
Пример #1
0
 public void Valid()
 {
     var processor = new AddinFinder
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNotNull( processor.FindAddinAssembly("SampleTask"));
 }
Пример #2
0
 public void NotFound()
 {
     var processor = new AddinFinder
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNull(processor.FindAddinAssembly("DoesNotExist"));
 }
Пример #3
0
    public void NotFound()
    {
        var processor = new AddinFinder
        {
            AddinSearchPaths = new List <string>
            {
                Path.GetFullPath("Packages")
            }
        };

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

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