Interface IDynamicFormService
Provides methods to access dynamic forms contents
Namespace: Cmc.Nexus.Common.Services
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public interface IDynamicFormService
Methods
Get(String)
Returns the string contents for the passed JSON layout file name
Declaration
string Get(string layoutFileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | layoutFileName |
Returns
Type | Description |
---|---|
System.String | String the contents for the passed JSON layout file name |
GetAll()
Returns the string contents of all JSON layout files
Declaration
IEnumerable<string> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | Returns the string contents of all JSON layout files |
GetByNameAndNamespace(String, String)
Returns the string contents for the passed JSON layout by EntityName and Namespace
Declaration
string GetByNameAndNamespace(string entityNamespace, string entityName)
Parameters
Type | Name | Description |
---|---|---|
System.String | entityNamespace | |
System.String | entityName |
Returns
Type | Description |
---|---|
System.String | String the contents for the passed JSON layout |