vimage.Config.WriteCustomActions C# (CSharp) Method

WriteCustomActions() private method

private WriteCustomActions ( StreamWriter writer, string name, List customActions ) : void
writer StreamWriter
name string
customActions List
return void
        private void WriteCustomActions(StreamWriter writer, string name, List<object> customActions)
        {
            writer.Write(name + " =" + Environment.NewLine + "{" + Environment.NewLine);
            for (int i = 0; i < CustomActions.Count; i++)
                writer.Write("\t" + (customActions[i] as dynamic).name + " : " + (customActions[i] as dynamic).func + Environment.NewLine);
            writer.Write("}" + Environment.NewLine);
        }