public IEnumerable <ContentTypeFieldInfo> GetFields(int appId, string staticName) { Log.Add($"get fields for a:{appId} type:{staticName}"); var permCheck = new MultiPermissionsTypes(SxcInstance, appId, staticName, Log); if (!permCheck.EnsureAll(GrantSets.WriteSomething, out var exp)) { throw exp; } if (!permCheck.UserCanWriteAndPublicFormsEnabled(out exp)) { throw exp; } return(_eavCtc.GetFields(appId, staticName)); }
public IEnumerable <ContentTypeFieldInfo> GetFields(int appId, string staticName) { GetAppRequiringPermissionsOrThrow(appId, GrantSets.WriteSomething, staticName); return(_eavCtc.GetFields(appId, staticName)); }
public IEnumerable <ContentTypeFieldInfo> GetFields(int appId, string staticName) => _eavCtc.GetFields(appId, staticName);
public IEnumerable <dynamic> GetFields(int appId, string staticName) { return(eavCtc.GetFields(appId, staticName)); }
public IEnumerable <dynamic> GetFields(int appId, string staticName) => _eavCtc.GetFields(appId, staticName);