private static string WriteDependenciesAssignment(IDependency dependency) { string assignmentValue = $"param_{dependency.GetDependencyName($"I{Settings.ClientInterfaceName}").ToLower()}"; if (dependency.HasAssignmentOverride) { return($@" {dependency.GetDependencyName($"I{Settings.ClientInterfaceName}")} = {dependency.GetAssignmentOverride(assignmentValue)};"); } else { return($@" {dependency.GetDependencyName($"I{Settings.ClientInterfaceName}")} = {assignmentValue};"); } }