IKVM.Internal.VirtualFileSystem.GetAssemblyResourcesPath C# (CSharp) Method

GetAssemblyResourcesPath() static private method

static private GetAssemblyResourcesPath ( Assembly asm ) : string
asm System.Reflection.Assembly
return string
        internal static string GetAssemblyResourcesPath(Assembly asm)
        {
            #if FIRST_PASS
            return null;
            #else
            return RootPath + "assembly" + System.IO.Path.DirectorySeparatorChar + VfsAssembliesDirectory.GetName(asm) + System.IO.Path.DirectorySeparatorChar + "resources" + System.IO.Path.DirectorySeparatorChar;
            #endif
        }

Usage Example

        private static java.net.URL MakeResourceURL(Assembly asm, string name)
        {
#if FIRST_PASS
            return(null);
#else
            return(new java.io.File(VirtualFileSystem.GetAssemblyResourcesPath(asm) + name).toURI().toURL());
#endif
        }