Skip to content

Commit a2815a6

Browse files
committed
Trying to get all the attributes.
1 parent 48fbbae commit a2815a6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

eFormAPI/Installation/CustomActions/CustomAction.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,12 @@ private static void AddImageHandlers(string siteName)
695695
//MessageBox.Show("pngHandlerMissing 6");
696696
configurationElementpng["responseBufferLimit"] = 0;
697697
//MessageBox.Show("pngHandlerMissing 7");
698-
MessageBox.Show("configurationElementpng is " + configurationElementpng.ToString());
698+
string obj = "";
699+
foreach (var part in configurationElementpng.Attributes)
700+
{
701+
obj += part.Name + " : " + part.Value + "\n";
702+
}
703+
MessageBox.Show("configurationElementpng is " + obj.ToString());
699704

700705
handlersCollection.Add(configurationElementpng);
701706
} catch (Exception ex)

0 commit comments

Comments
 (0)