using System.Reflection;
using XFEExtension.NetCore.XFETransform.StringConverter;
namespace XFEExtension.NetCore.XFETransform.ObjectInfoAnalyzer;
///
/// 对象信息接口
///
public interface IObjectInfo
{
///
/// 是否是数组
///
bool IsArray { get; init; }
///
/// 是否是基础类型
///
bool IsBasicType { get; init; }
///
/// 对象名称
///
string? Name { get; init; }
///
/// 子对象
///
ISubObjects? SubObjects { get; init; }
///
/// 字符串转换器
///
IStringConverter? StringConverter { get; init; }
///
/// 对象类型
///
Type? Type { get; init; }
///
/// 字段信息
///
FieldInfo? FieldInfo { get; init; }
///
/// 属性信息
///
PropertyInfo? PropertyInfo { get; init; }
///
/// 对象值
///
object? Value { get; init; }
///
/// 对象位置
///
ObjectPlace ObjectPlace { get; init; }
///
/// 父对象信息
///
IObjectInfo? Parent { get; set; }
///
/// 对象层级
///
int Layer { get; init; }
///
/// 输出对象信息
///
///
string OutPutObject();
}