You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
935 B
40 lines
935 B
using Apewer;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web;
|
|
|
|
namespace Apewer.Web
|
|
{
|
|
|
|
/// <summary></summary>
|
|
[Serializable]
|
|
public class ApiApplication : ApiEntry
|
|
{
|
|
|
|
private Dictionary<string, ApiFunction> _functions = new Dictionary<string, ApiFunction>();
|
|
private bool _independent = false;
|
|
private string _module = null;
|
|
|
|
/// <summary></summary>
|
|
public Dictionary<string, ApiFunction> Functions
|
|
{
|
|
get { return _functions; }
|
|
}
|
|
|
|
/// <summary>指示此 Application 不依赖 ApiInvoker,将忽略 Function。</summary>
|
|
public bool Independent
|
|
{
|
|
get { return _independent; }
|
|
set { _independent = value; }
|
|
}
|
|
|
|
/// <summary></summary>
|
|
public string Module
|
|
{
|
|
get { return _module; }
|
|
set { _module = value; }
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|