Interface IStringOrObjectT

IStringOrObject<T> 接口

表示可以是字符串值或对象值的对象。

public interface IStringOrObject<T>
    where T : class
参数描述
T对象值的类型。

属性

名称描述
IsObjectValue { get; }获取一个值,指示响应格式是否为对象值。
IsStringValue { get; }获取一个值,指示响应格式是否为字符串值。
ObjectValue { get; set; }获取或设置对象值。
StringValue { get; set; }获取或设置字符串值。

另请参阅