Aura.Shared.Scripting.ScriptManager.LoadScript C# (CSharp) Метод

LoadScript() приватный Метод

Loads script from given path.
private LoadScript ( string scriptPath ) : bool
scriptPath string
Результат bool
		private bool LoadScript(string scriptPath)
		{
			if (!File.Exists(scriptPath))
				throw new FileNotFoundException();

			var asm = this.GetAssembly(scriptPath);
			if (asm == null)
				return false;

			this.LoadScriptAssembly(asm, scriptPath);

			return true;
		}