public AsContractName ( Func getContractNameFromPartType ) : |
||
getContractNameFromPartType | Func | A Func to retrieve the contract name from the part typeThe contract name. |
return |
public ImportConventionBuilder AsContractName(Func<Type, string> getContractNameFromPartType)
{
_getContractNameFromPartType = getContractNameFromPartType ?? throw new ArgumentNullException(nameof(getContractNameFromPartType));
return this;
}
ImportConventionBuilder::AsContractName ( string contractName ) : |