using System; namespace ScreenConnect; public class PropertySerializer { public Func GetFunc { get; } public Proc SetProc { get; } public Type PropertyType { get; } public Constraint Constraint { get; } public ITypeSerializer TypeSerializer { get; } public PropertySerializer(Func getFunc, Proc setProc, Type propertyType, Constraint constraint, ITypeSerializer typeSerializer) { GetFunc = getFunc; SetProc = setProc; PropertyType = propertyType; Constraint = constraint; TypeSerializer = typeSerializer; } }