public DslStep(string type, string direction, object settings) { var settingsFactory = new SettingsFactory(); Type = type; SetDirection(direction); Settings = settingsFactory.CopyJObject(type, (JObject)settings); }