private static bool SerializeProfiles(GenericWriter writer) { writer.WriteBlockCollection(Profiles.Values, (w, obj) => obj.Serialize(w)); return true; }
private static bool SerializeHandlers(GenericWriter writer) { writer.WriteBlockCollection(Handlers.Values, (w, obj) => w.WriteType(obj, t => obj.Serialize(w))); return true; }