protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); if (mReferencedSource != null) { obj["ReferencedSource"] = ReferencedSource.getJson(this, options); } setAttribute(obj, "Description", Description); setAttribute(obj, "Sort", Sort); }
public override string GetStepParameters() { var parameters = new List <string>(); parameters.Add(Location != null ? Location.ToStepValue() : "$"); parameters.Add(Identification != null ? Identification.ToStepValue() : "$"); parameters.Add(Name != null ? Name.ToStepValue() : "$"); parameters.Add(ReferencedSource != null ? ReferencedSource.ToStepValue() : "$"); parameters.Add(Description != null ? Description.ToStepValue() : "$"); parameters.Add(Sort != null ? Sort.ToStepValue() : "$"); return(string.Join(", ", parameters.ToArray())); }