Browse Source

Added conditional compilation for ISet

4.0.0-beta
Anairkoen Schno 4 years ago
parent
commit
5b831204e7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      IPA.Loader/Config/Stores/CollectionConverter.cs

+ 2
- 0
IPA.Loader/Config/Stores/CollectionConverter.cs View File

@ -102,6 +102,7 @@ namespace IPA.Config.Stores.Converters
public CollectionConverter() : base(new TConverter()) { }
}
#if NET4
/// <summary>
/// A <see cref="CollectionConverter{T, TCollection}"/> for an <see cref="ISet{T}"/>, creating a <see cref="HashSet{T}"/> when deserializing.
/// </summary>
@ -145,6 +146,7 @@ namespace IPA.Config.Stores.Converters
/// <seealso cref="ISetConverter{T}.ISetConverter(ValueConverter{T})"/>
public ISetConverter() : base(new TConverter()) { }
}
#endif
/// <summary>
/// A <see cref="CollectionConverter{T, TCollection}"/> for a <see cref="List{T}"/>.


Loading…
Cancel
Save