FindAddinAssembly() 공개 메소드

public FindAddinAssembly ( string packageName ) : string
packageName string
리턴 string
예제 #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"));
    }