public TyonObject(object obj, TyonDehydrater dehydrater) : this() { dehydrater.RegisterInternalObject(obj, this); SetTyonType(TyonType.CreateTyonType(obj.GetType())); SetTyonVariables( dehydrater.GetDesignatedVariables(obj.GetType()) .Convert(v => new TyonVariable(v.CreateStrongInstance(obj), dehydrater)) ); }
public TyonValue_Type(Type type, TyonDehydrater dehydrater) { SetTyonType(TyonType.CreateTyonType(type)); }
public TyonSurrogate(object value, TyonDehydrater dehydrater) : this() { SetTyonType(TyonType.CreateTyonType(value.GetTypeEX())); SetTyonValue(new TyonValue_String(value, dehydrater)); }
public TyonType_Array(Type type) : this() { SetTyonType(TyonType.CreateTyonType(type.GetElementType())); }
public TyonArray(Type element_type, object value, TyonDehydrater dehydrater) : this() { SetTyonType(TyonType.CreateTyonType(element_type)); SetTyonValueList(new TyonValueList(element_type, value.ToEnumerable <object>(), dehydrater)); }
public TyonType_Direct_Templated(Type type) : this() { SetId(type.GetNamespace().AppendToVisible(".") + type.GetBasicName()); SetTyonTypes(type.GetGenericArguments().Convert(t => TyonType.CreateTyonType(t))); }