gbrainy.Core.Main.GameManager.ResolveAssemblyLoad C# (CSharp) 메소드

ResolveAssemblyLoad() 정적인 개인적인 메소드

static private ResolveAssemblyLoad ( object sender, ResolveEventArgs args ) : Assembly
sender object
args System.ResolveEventArgs
리턴 System.Reflection.Assembly
        static Assembly ResolveAssemblyLoad(object sender, ResolveEventArgs args)
        {
            IConfiguration config = ServiceLocator.Instance.GetService <IConfiguration> ();
            string asm_dir = config.Get <string> (ConfigurationKeys.AssembliesDir);
                string full_name = System.IO.Path.Combine (asm_dir, args.Name);
            return Assembly.LoadFile (full_name);
        }