aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-09 10:39:04 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-09 10:39:04 -0400
commit9b8c0d68ce3e816c86a66702a7f5036760a42413 (patch)
tree3248dd14c2d6816b84062e2044232f401b79343e /MediaBrowser.Common.Implementations
parente02bf33df37eb12656af12691943121f135d7c36 (diff)
update mono build
Diffstat (limited to 'MediaBrowser.Common.Implementations')
-rw-r--r--MediaBrowser.Common.Implementations/BaseApplicationHost.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
index ebd6c6b59f..178b840a87 100644
--- a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
+++ b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
@@ -632,6 +632,7 @@ namespace MediaBrowser.Common.Implementations
return parts;
}
+ private Version _version;
/// <summary>
/// Gets the current application version
/// </summary>
@@ -640,7 +641,7 @@ namespace MediaBrowser.Common.Implementations
{
get
{
- return GetType().Assembly.GetName().Version;
+ return _version ?? (_version = GetType().Assembly.GetName().Version);
}
}