protected override void Init() { base.Init(); var filteredOptions = SerializerOptions.Default .WithTypeFilter( TypeFilterBuilder.Create() .Include <StandardStruct>() .Include <BlittableStruct>() .Include <TestEnum>() .Build()); _filteredSerializer = new Serializer(filteredOptions); standardValue = new StandardStruct(1, "John", "Doe", isLoggedIn: false); blittableValue = new BlittableStruct(59, 92); testEnum = TestEnum.HatesAll; }
protected override void Init() { standardValue = new StandardStruct(1, "John", "Doe", isLoggedIn: false); blittableValue = new BlittableStruct(59, 92); testEnum = TestEnum.HatesAll; }