public static IsSpecPackage ( FubuMVC.Core.Assets.Files.PackageAssets package ) : bool | ||
package | FubuMVC.Core.Assets.Files.PackageAssets | |
Результат | bool |
public static bool IsSpecPackage(PackageAssets package)
{
if (package.PackageName == "application") return false;
if (package.PackageName == typeof(IAssetFileGraph).Assembly.GetName().Name) return false;
if (package.PackageName == typeof(SpecificationGraph).Assembly.GetName().Name) return false;
if (package.PackageName == new AssemblyPackageInfo(typeof (SpecificationGraph).Assembly).Name)
return false;
return true;
}