public static void ToString(Zetbox.App.Base.StringDefaultValue obj, MethodReturnEventArgs <System.String> e) { if (obj.Property != null) { e.Result = string.Format("{0} will be initialized with '{1}'", obj.Property.Name, obj.DefaultValue); } else { e.Result = "Initializes a property with the configured string"; } }
public static void GetDefaultValue(Zetbox.App.Base.StringDefaultValue obj, MethodReturnEventArgs <object> e) { e.Result = obj.DefaultValue; }