Interface IOdfTemplateValueResolver
- Namespace
- OdfKit
- Assembly
- OdfKit.dll
Resolves one template value path segment without runtime reflection. 在不使用執行期反射的情況下解析一個範本值路徑片段。
public interface IOdfTemplateValueResolver
Methods
TryResolve(object, string, out object?)
Tries to resolve a named value from the supplied source object. 嘗試從指定來源物件解析具名值。
bool TryResolve(object source, string name, out object? value)
Parameters
sourceobjectThe source object. / 來源物件。
namestringThe path segment name. / 路徑片段名稱。
valueobjectThe resolved value when found. / 找到時的解析值。