public SampleFeaturesSteps(EmployeeDetails emp) { this.employee = emp; }
public readonly EmployeeDetails employee; // 34a create object for employee details public ExtendedSteps(EmployeeDetails emp) //34b create constructor for employee details { this.employee = emp; //35c assign value to variable just declare in the constructor // the above is the context injection feature. Go and copy Steps deiniftions //in "SpecFlowFeature1.feature" }