public UIOMaticTypeInfo GetTypeInfo(string typeAlias, bool includePropertyInfo) { var t = Helper.GetUIOMaticTypeByAlias(typeAlias, throwNullError: true); Configuration.Formatters.JsonFormatter.SerializerSettings.ContractResolver = new DefaultContractResolver(); var info = _service.GetTypeInfo(t, includePropertyInfo); info.Apps = _contentAppsFactoryCollection.GetContentAppsFor(t); return(info); }
public IEnumerable <UIOMaticTypeInfo> GetAllTypes() { var types = Helper.GetUIOMaticTypes(); return(types.Select(x => _service.GetTypeInfo(x))); }