|
| static object | findClass (object self, string name) |
| | Finds the class with the given name within the AppDomain.
|
| |
| static object | findResource (object self, string name) |
| | Finds the first matching resource.
|
| |
| static object | concatResources (object self, object existing, string name) |
| | Concats resources from this loader with those given by existing .
|
| |
◆ concatResources()
| static object IKVM.Java.Externs.ikvm.runtime.AppDomainAssemblyClassLoader.concatResources |
( |
object | self, |
|
|
object | existing, |
|
|
string | name ) |
|
static |
Concats resources from this loader with those given by existing .
- Parameters
-
Definition at line 146 of file AppDomainAssemblyClassLoader.cs.
147 {
148#if FIRST_PASS
149 throw new NotImplementedException();
150#else
151 return new global::ikvm.runtime.EnumerationWrapper(ConcatResources(AsEnumerable<global::java.net.URL>((global::java.util.Enumeration)existing), name));
152#endif
153 }
◆ findClass()
| static object IKVM.Java.Externs.ikvm.runtime.AppDomainAssemblyClassLoader.findClass |
( |
object | self, |
|
|
string | name ) |
|
static |
Finds the class with the given name within the AppDomain.
- Parameters
-
- Returns
- Exceptions
-
Definition at line 109 of file AppDomainAssemblyClassLoader.cs.
110 {
111#if FIRST_PASS
112 throw new NotImplementedException();
113#else
114 foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
115 if (LoadClassFromAssembly(assembly, name) is { } c)
116 return c;
117
118 throw new global::java.lang.ClassNotFoundException(name);
119#endif
120 }
◆ findResource()
| static object IKVM.Java.Externs.ikvm.runtime.AppDomainAssemblyClassLoader.findResource |
( |
object | self, |
|
|
string | name ) |
|
static |
Finds the first matching resource.
- Parameters
-
- Returns
Definition at line 128 of file AppDomainAssemblyClassLoader.cs.
129 {
130#if FIRST_PASS
131 throw new NotImplementedException();
132#else
133 foreach (var url in FindResources(name))
134 return url;
135
136 return null;
137#endif
138 }
The documentation for this class was generated from the following file: