Class Configuration
Class Configuration
名称: Aspose.Html 编辑: Aspose.HTML.dll (25.4.0)
代表配置背景对象,用于设置应用程序的环境设置。
[ComVisible(true)]
public class Configuration : IServiceProvider, IDisposable
Inheritance
Implements
IServiceProvider , IDisposable
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Configuration()
启动 Aspose.Html.Configuration 类的新例子。
public Configuration()
Properties
Security
接收或设置配置的 Sandboxing 旗。
public Sandbox Security { get; set; }
财产价值
Methods
Create()
创建和设置配置对象的例子。
public static Configuration Create()
Returns
设置对象的例子。
Create(动作(IconfigurationBuilder)>)
创建和设置配置对象的例子。
public static Configuration Create(Action<iconfigurationbuilder> configure)
Parameters
configure
Action
<
IConfigurationBuilder
>
配置建筑师
Returns
设置对象的例子。
Dispose()
执行与释放、释放或重新管理未管理资源相关的应用定义任务。
public void Dispose()
GetService(Type)
得到所要求的服务。
public object GetService(Type serviceType)
Parameters
serviceType
Type
接收的服务类型。
Returns
服务的例子,如果可以找到它,或
服务()
得到所要求的服务。
public T GetService<t>()
Returns
T
服务的例子,如果可以找到它,或
类型参数
T
接收的服务类型。