Serenity.Jasmine.SpecificationGraph.IsSpecPackage C# (CSharp) Method

IsSpecPackage() public static method

public static IsSpecPackage ( FubuMVC.Core.Assets.Files.PackageAssets package ) : bool
package FubuMVC.Core.Assets.Files.PackageAssets
return 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;
        }