Rebel.Cms.Web.PackageExtensions.IsInstalled C# (CSharp) 메소드

IsInstalled() 공개 정적인 메소드

public static IsInstalled ( this package, IPackageRepository repo ) : bool
package this
repo IPackageRepository
리턴 bool
        public static bool IsInstalled(this IPackageMetadata package, IPackageRepository repo)
        {
            if (package != null && package.Id != null)
                return repo.FindPackage(package.Id) != null;
            return false;
        }
PackageExtensions