| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- //
- // System.Reflection/Assembly.cs
- //
- // Author:
- // Paolo Molaro ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- using System;
- using System.Security.Policy;
- using System.Runtime.Serialization;
- using System.Reflection.Emit;
- using System.IO;
- using System.Globalization;
- namespace System.Reflection {
- public class Assembly : System.Reflection.ICustomAttributeProvider,
- System.Security.IEvidenceFactory, System.Runtime.Serialization.ISerializable {
- private string codebase;
- private string copiedcodebase;
- private string fullname;
- private string location;
- private Evidence evidence;
- private MethodInfo entrypoint;
-
- public virtual string CodeBase { get {return codebase;} }
- public virtual string CopiedCodeBase { get {return copiedcodebase;} }
- public virtual string FullName { get {return fullname;} }
- public virtual MethodInfo EntryPoint { get {return entrypoint;} }
- public virtual Evidence Evidence { get {return evidence;} }
- public virtual String Location { get {return location;} }
- public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- }
- public virtual Boolean IsDefined(Type attributeType)
- {
- return false;
- }
- public virtual bool IsDefined (Type attribute_type, bool inherit)
- {
- return false;
- }
- public virtual Object[] GetCustomAttributes()
- {
- return null;
- }
- public virtual Object[] GetCustomAttributes(Type attributeType)
- {
- return null;
- }
-
- public virtual object [] GetCustomAttributes (bool inherit)
- {
- return null;
- }
- public virtual object [] GetCustomAttributes (Type attribute_type, bool inherit)
- {
- return null;
- }
- public virtual void RemoveOnTypeResolve(ResolveEventHandler handler)
- {
- }
- public virtual void AddOnTypeResolve(ResolveEventHandler handler)
- {
- }
- public virtual void RemoveOnResourceResolve(ResolveEventHandler handler)
- {
- }
-
- public virtual void AddOnResourceResolve(ResolveEventHandler handler)
- {
- }
- public virtual ModuleBuilder DefineDynamicModule(String name, Boolean emitSymbolInfo)
- {
- return null;
- }
- public virtual ModuleBuilder DefineDynamicModule(String name)
- {
- return null;
- }
- public virtual FileStream[] GetFiles()
- {
- return null;
- }
- public virtual FileStream GetFile(String name)
- {
- return null;
- }
- public virtual Stream GetManifestResourceStream(String name)
- {
- return null;
- }
- public virtual Stream GetManifestResourceStream(Type type, String name)
- {
- return null;
- }
- public virtual Type[] GetTypes()
- {
- return null;
- }
- public virtual Type[] GetExportedTypes()
- {
- return null;
- }
- public virtual Type GetType(String name, Boolean throwOnError)
- {
- return null;
- }
- public virtual Type GetType(String name)
- {
- return GetType (name, true);
- }
-
- public virtual AssemblyName GetName(Boolean copiedName)
- {
- return null;
- }
- public virtual AssemblyName GetName()
- {
- return null;
- }
- public override String ToString()
- {
- return "FIXME: assembly";
- }
-
- public static String CreateQualifiedName(String assemblyName, String typeName)
- {
- return "FIXME: assembly";
- }
- public static String nCreateQualifiedName(String assemblyName, String typeName)
- {
- return "FIXME: assembly";
- }
- public static Assembly GetAssembly(Type type)
- {
- return null;
- }
- public Type GetType(String name, Boolean throwOnError, Boolean ignoreCase)
- {
- return null;
- }
- public Assembly GetSatelliteAssembly(CultureInfo culture)
- {
- return null;
- }
- public static Assembly LoadFrom(String assemblyFile)
- {
- return null;
- }
- public static Assembly LoadFrom(String assemblyFile, Evidence securityEvidence)
- {
- return null;
- }
- public static Assembly Load(String assemblyString)
- {
- return null;
- }
-
- public static Assembly Load(String assemblyString, Evidence assemblySecurity)
- {
- return null;
- }
- public static Assembly Load(AssemblyName assemblyRef)
- {
- return null;
- }
- public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity)
- {
- return null;
- }
- public static Assembly Load(Byte[] rawAssembly)
- {
- return null;
- }
- public static Assembly Load(Byte[] rawAssembly, Byte[] rawSymbolStore)
- {
- return null;
- }
- public static Assembly Load(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence securityEvidence)
- {
- return null;
- }
- public Object CreateInstance(String typeName)
- {
- return null;
- }
- public Object CreateInstance(String typeName, Boolean ignoreCase)
- {
- return null;
- }
- public Object CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
- {
- return null;
- }
- public Module[] GetLoadedModules()
- {
- return null;
- }
- public Module[] GetModules()
- {
- return null;
- }
- public Module GetModule(String name)
- {
- return null;
- }
- public String[] GetManifestResourceNames()
- {
- return null;
- }
- public static Assembly GetExecutingAssembly()
- {
- return null;
- }
- public AssemblyName[] GetReferencedAssemblies()
- {
- return null;
- }
- public ManifestResourceInfo GetManifestResourceInfo(String resourceName)
- {
- return null;
- }
- public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity, String callerLocation)
- {
- return null;
- }
- public static Assembly Load(String assemblyString, Evidence assemblySecurity, String callerLocation)
- {
- return null;
- }
- }
- }
|