how does one get the brushes from the indicator input without explicitly calling them?
Color1 = Brushes.Orange;
Color2 = Brushes.Salmon;
Color3 = Brushes.SeaGreen;
Color4 = Brushes.SlateBlue;
Color5 = Brushes.MediumOrchid;
Color6 = Brushes.MediumBlue;
Color7 = Brushes.Black;
Color8 = Brushes.Teal;
Color9 = Brushes.Goldenrod;
Color10 = Brushes.SaddleBrown;
...
// I want to avoid this
Brush[] brushes = { Color1, Color2, Color3, Color4, Color5, Color6, Color7, Color8, Color9, Color10};
// I want this, this.Inputs is not the right one
foreach (Brush brush in this.Inputs)
{
Print("this brush is: " + brush.ToString());
}
Thanks

Comment