This commit is contained in:
Dean Herbert 2018-02-23 14:27:53 +09:00
parent ff75cf6b75
commit 0e20c4e6bb
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public SkinManager(Storage storage, DatabaseContextFactory contextFactory, IIpcH
CurrentSkin.ValueChanged += skin => CurrentSkin.ValueChanged += skin =>
{ {
if (skin.SkinInfo != CurrentSkinInfo.Value) if (skin.SkinInfo != CurrentSkinInfo.Value)
throw new InvalidOperationException($"Setting {nameof(CurrentSkin)}'s value directly is not supported. Use {nameof(CurrentSkinInfo)} isntead."); throw new InvalidOperationException($"Setting {nameof(CurrentSkin)}'s value directly is not supported. Use {nameof(CurrentSkinInfo)} instead.");
}; };
} }