NVelocity/Runtime/IRuntimeServices.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace NVelocity.Runtime
{
using System;
using System.IO;
using Commons.Collections;
using NVelocity.Runtime.Parser.Node;
using NVelocity.Util.Introspection;
using Resource;
/// <summary> Interface for internal runtime services that are needed by the
/// various components w/in Velocity. This was taken from the old
/// Runtime singleton, and anything not necessary was removed.
///
/// Currently implemented by RuntimeInstance.
/// </summary>
public interface IRuntimeServices : IRuntimeLogger
{
/**
* Return the velocity runtime configuration object.
*
* @return ExtendedProperties configuration object which houses
* the velocity runtime properties.
*/
ExtendedProperties Configuration { get; set; }
/**
* Returns the configured class introspection/reflection
* implemenation.
*/
IUberspect Uberspect { get; }
/**
* Returns the configured method introspection/reflection
* implemenation.
*/
Introspector Introspector { get; }
/*
* This is the primary initialization method in the Velocity
* Runtime. The systems that are setup/initialized here are
* as follows:
*
* <ul>
* <li>Logging System</li>
* <li>ResourceManager</li>
* <li>Parser Pool</li>
* <li>Global Cache</li>
* <li>Static Content Include System</li>
* <li>Velocimacro System</li>
* </ul>
*/
void Init();
/// <summary>
/// Allows an external system to set a property in
/// the Velocity Runtime.
/// </summary>
/// <param name="key">property key</param>
/// <param name="value">property value</param>
void SetProperty(String key, Object value);
后面还有 238 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
