KNFoundation.KNBundle.BundleWithDirectoryPath C# (CSharp) Method

BundleWithDirectoryPath() public static method

public static BundleWithDirectoryPath ( string path ) : KNBundle
path string
return KNBundle
        public static KNBundle BundleWithDirectoryPath(string path)
        {
            KNBundle bundle;

            if (bundleCache.ContainsKey(path)) {
                if (bundleCache.TryGetValue(path, out bundle)) {
                    return bundle;
                }
            }

            bundle = new KNBundle(path);

            return bundle;
        }