C# Class FalcoA.Core.ParameterResolver

将一个包含数据绑定的字符串根据Context来解析出最终的结果 静态数据绑定: @(...) 动态数据绑定: #(...)
Mostra file Open project: TaikorInc/FalcoA

Public Methods

Method Description
HasDataBinding ( String raw, String delimiter ) : System.Boolean
ParseProvider ( String json ) : IDataProvider

根据一个JSON来生成一个DataProvider

Resolve ( String raw, Context context ) : String

先解析动态数据绑定,再解析静态数据绑定

ResolveString ( String raw, String delimiter, IDataProvider provider ) : String

Method Details

HasDataBinding() public static method

public static HasDataBinding ( String raw, String delimiter ) : System.Boolean
raw String
delimiter String
return System.Boolean

ParseProvider() public static method

根据一个JSON来生成一个DataProvider
public static ParseProvider ( String json ) : IDataProvider
json String
return IDataProvider

Resolve() public static method

先解析动态数据绑定,再解析静态数据绑定
public static Resolve ( String raw, Context context ) : String
raw String
context Context
return String

ResolveString() public static method

public static ResolveString ( String raw, String delimiter, IDataProvider provider ) : String
raw String
delimiter String
provider IDataProvider
return String