Method TrySetFinishByTypeNameAndCode
TrySetFinishByTypeNameAndCode(string, string)
Finds a finish type with given name in the finishes config, then finds a finish with given code belonging to the finish type, and then sets the finish to the config.
Declaration
public bool TrySetFinishByTypeNameAndCode(string typeName, string finishCode)
Parameters
Type | Name | Description |
---|---|---|
string | typeName | Finish type name. It's localizable, so be sure to query the type name in the LanguageCode set as current for the application |
string | finishCode | Code of the finish belonging to the finish type. |
Returns
Type | Description |
---|---|
bool |
|