mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
Finally retire the PKMember setters!
This commit is contained in:
parent
281b669391
commit
c5697b33e2
9 changed files with 94 additions and 86 deletions
|
|
@ -30,6 +30,8 @@ namespace PluralKit.Core
|
|||
public IEnumerator<T> GetEnumerator() => ToArray().GetEnumerator();
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator() => ToArray().GetEnumerator();
|
||||
|
||||
public static implicit operator Partial<T>(T val) => Present(val);
|
||||
}
|
||||
|
||||
public class PartialConverter: JsonConverter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue