From cecb455702b29c93ad2828722357ae06228fd903 Mon Sep 17 00:00:00 2001 From: RiJo Date: Fri, 19 Dec 2014 11:24:38 +0100 Subject: [PATCH] Added constructor to IniFile taking filename as argument --- MediaOrganizer/IniFile.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MediaOrganizer/IniFile.cs b/MediaOrganizer/IniFile.cs index 1919952..ed32113 100644 --- a/MediaOrganizer/IniFile.cs +++ b/MediaOrganizer/IniFile.cs @@ -33,6 +33,12 @@ public IniFile() { } + public IniFile(string filename) + : base() + { + TryLoad(filename); + } + public bool TryLoad(string filename) { try