public UIPropertyByIdProducer(IUIPropertyPropertiesAvailableStatus properties, IProjectService2 projectService) { Requires.NotNull(properties, nameof(properties)); Requires.NotNull(projectService, nameof(projectService)); _properties = properties; _projectService = projectService; }
public UIPropertyByIdProducer(IUIPropertyPropertiesAvailableStatus properties, IProjectService2 projectService, IPropertyPageQueryCacheProvider queryCacheProvider) { Requires.NotNull(properties, nameof(properties)); Requires.NotNull(projectService, nameof(projectService)); _properties = properties; _projectService = projectService; _queryCacheProvider = queryCacheProvider; }
public UIPropertyFromPropertyPageDataProducer(IUIPropertyPropertiesAvailableStatus properties) { _properties = properties; }
public static IEntityValue CreateUIPropertyValue(IEntityValue parent, IPropertyPageQueryCache cache, BaseProperty property, int order, IUIPropertyPropertiesAvailableStatus requestedProperties) { Requires.NotNull(parent, nameof(parent)); Requires.NotNull(property, nameof(property)); var identity = new EntityIdentity( ((IEntityWithId)parent).Id, new KeyValuePair <string, string>[] { new(ProjectModelIdentityKeys.UIPropertyName, property.Name) });