protected override IEnumerable ListParameters() { yield return("Image balance: " + _imageBalance); yield return("Smoothness: " + _smoothness); yield return("Light position: " + Abbreviations.Get(_lightPosition.Value)); }
protected override IEnumerable ListParameters() { yield return(String.Format("Radius: {0:F3}", _radius)); yield return(String.Format("Threshold: {0:F3}", _threshold)); yield return("Quality: " + Abbreviations.Get(_quality.Value)); yield return("Mode: " + Abbreviations.Get(_mode.Value)); }
protected override IEnumerable ListParameters() { if (_gefk != null) { yield return("Effect: " + Abbreviations.Get(_gefk.Value)); } yield return("Detail: " + _detail); yield return("Darkness: " + _darkness); }
protected override IEnumerable ListParameters() { yield return("From: Current History State"); var usng = Parameters["Usng"] as EnumParameter; if (usng != null) { yield return("Using: " + Abbreviations.Get(usng.Value)); } }
protected override IEnumerable ListParameters() { yield return("shearPoints: " + "Fix me!"); yield return("Undefined Area: " + Abbreviations.Get(_undefinedArea.Value)); yield return("Shear Start: " + _shearStart); yield return("Shear End: " + _shearEnd); }
protected override IEnumerable ListParameters() { _objc.Fill(this); yield return("With: " + Abbreviations.Get(_objc.ClassID2)); yield return("Source: "); yield return(Format(_invertSource, Abbreviations.Get("Invr"))); yield return(Format(_preserveTransparency, Abbreviations.Get("PrsT"))); }
protected override IEnumerable ListParameters() { if (_gefk != null) { yield return("Effect: " + Abbreviations.Get(_gefk.Value)); } yield return("Size: " + _size); yield return("Sharpen: " + _sharpen); yield return("Brushtype: " + Abbreviations.Get(_brushType.Value)); }
protected string Format(EnumParameter parameter, string s) { if (parameter == null) { return(Abbreviations.Get(s) + ": fixme!"); } else { return(Abbreviations.Get(s) + ": " + Abbreviations.Get(parameter.Value)); } }
protected override IEnumerable ListParameters() { if (_modifier != null) { yield return("Modification: " + Abbreviations.Get(_modifier.Value)); } if (_makeVisible != null) { yield return((_makeVisible.Value ? "With" : "Without") + " Make Visible"); } }
public override IEnumerable <string> Format() { if (Name != null) { yield return(String.Format("{0}: {1}", UppercaseName, Abbreviations.Get(ClassID2))); } foreach (var child in _children) { foreach (var s in child.Format()) { yield return(s); } } }
protected override IEnumerable ListParameters() { if (_adjustment != null) { var objc = _adjustment[0] as ObjcParameter; if (objc.Contains("Gmm")) { yield return("Gamma: " + objc.GetValueAsDouble("Gmm")); } if (objc.Contains("Chnl")) { var channel = objc.Parameters["Chnl"] as ReferenceParameter; string value = (channel.Set[0] as EnmrType).Value; yield return($"{Abbreviations.Get("Chnl")}: {Abbreviations.Get(value)}"); } } }
protected override IEnumerable ListParameters() { if (_type is TypeParameter) { string type = (_type as TypeParameter).Value; yield return("To: " + Abbreviations.Get(type)); } else if (_type is ObjcParameter) { ObjcParameter objc = _type as ObjcParameter; yield return("To: " + Abbreviations.Get(objc.ClassID2)); } if (Parameters["Dpth"] != null) { _depth = (Parameters["Dpth"] as LongParameter).Value; yield return("Depth: " + _depth); } }
protected override IEnumerable ListParameters() { var saveAs = Parameters["As"]; if (saveAs != null) { string fileType = "unknown extension"; if (saveAs is ObjcParameter) { fileType = (saveAs as ObjcParameter).ClassID2; } else if (saveAs is TextParameter) { fileType = (saveAs as TextParameter).Value; } yield return("As: " + Abbreviations.Get(fileType)); yield return("Byte Order: "); } var saveIn = Parameters["In"]; if (saveIn != null) { if (saveIn is AliasParameter) { _path = "Fix me: SaveEvent.AliasParameter"; } else if (saveIn is PathParameter) { _path = (saveIn as PathParameter).Path; } else { _path = "Fix me: unknown path (SaveEvent)"; } yield return("In: " + _path); } }
protected override IEnumerable ListParameters() { if (_gefs == null) { Console.WriteLine("FilterGalleryEvent-1"); yield break; } foreach (Parameter parameter in _gefs) { if (parameter is ObjcParameter) { var objc = parameter as ObjcParameter; yield return(Abbreviations.Get(objc.GetValueAsString("GEfk"))); } else { Console.WriteLine("FilterGalleryEvent: " + parameter); } } }
public override IEnumerable <string> Format() { // yield return $"{(Value) ? "With" : "Without"} {Abbreviations.Get(Name)}"; yield return($"{Abbreviations.Get(Name)}"); }
protected override IEnumerable ListParameters() { yield return("Using: " + Abbreviations.Get(_objc.ClassID2)); }
public override IEnumerable <string> Format() { yield return(String.Format("{0}: {1}", UppercaseName, Abbreviations.Get(Value))); }
protected string Format(double value, string s) { return(String.Format("{0}: {1:F3}", Abbreviations.Get(s), value)); }
protected string Format(int value, string s) { return(String.Format("{0}: {1}", Abbreviations.Get(s), value)); }
protected string Format(string value, string s) { return(String.Format("{0}: \"{1}\"", Abbreviations.Get(s), value)); }
protected string Format(bool value, string s) { return(((value) ? "With " : "Without ") + Abbreviations.Get(s)); }
public override IEnumerable <string> Format() { yield return($"{Abbreviations.Get(Key)}: {Abbreviations.Get(Value)}"); }
protected override IEnumerable ListParameters() { yield return("Shape: " + Abbreviations.Get(_shape.ClassID2)); }
protected override IEnumerable ListParameters() { yield return("To: " + Abbreviations.Get(_direction) + " layer"); }
public override IEnumerable <string> Format() { yield return(String.Format("{0} {1}", (Value) ? "With" : "Without", Abbreviations.Get(Name))); }
protected override IEnumerable ListParameters() { yield return("Using: " + Abbreviations.Get(_using.Value)); }
public override IEnumerable <string> Format() { yield return(String.Format("{0}: \"{1}\"", Abbreviations.Get(Name), Path)); }
public override IEnumerable <string> Format() { yield return($"{UppercaseName}: {Abbreviations.Get(Value)}"); }
protected override IEnumerable ListParameters() { yield return("To: " + Abbreviations.Get(_type) + " pixel"); }
public override IEnumerable <string> Format() { yield return($"{Abbreviations.Get(ClassID2)} {Abbreviations.Get(Key)}"); }