Skip to content
Snippets Groups Projects
Commit ab68a3ba authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Add method docstring.

parent 68b5eee0
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@ namespace ATxCommon.Serializables
EnforceInheritedACLs = true;
}
/// <summary>
/// Dummy method raising an exception (this class must not be serialized).
/// </summary>
public static void Serialize(string file, ServiceConfig c) {
// the config is never meant to be written by us, therefore:
throw new SettingsPropertyIsReadOnlyException("The config file must not be written by the service!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment