Interface IMappingUtils
- Namespace
- adas_core.Domain.Utils.Interfaces
- Assembly
- adas-core.Domain.dll
public interface IMappingUtils
- Extension Methods
Methods
GetComplexityValue(string, double?)
Retrieves the complexity value associated with the specified name, optionally applying a weight.
int GetComplexityValue(string name, double? peso = null)
Parameters
namestringThe name used to look up the complexity value.
pesodouble?An optional weight value to apply to the complexity calculation.
Returns
- int
The complexity value as an integer.
SearchByCode(object, string)
Searches for an entity by its code within the specified category and returns its type, name, and group.
(string type, string name, string group)? SearchByCode(object code, string category)
Parameters
codeobjectThe code used to look up the entity.
categorystringThe category used to filter the search.