Show / Hide Table of Contents

Interface IBsonSerializable

Adds support for serializing to a BSONArray instance. Should not be implemented manually, instead use BsonAutoSerializeAttribute

Namespace: Eco.Shared.Serialization
Assembly: Eco.Shared.dll
Syntax
public interface IBsonSerializable

Methods

ToBson()

Creates a new BSONArray instance from this object.

Declaration
BSONArray ToBson()
Returns
Type Description
BSONArray

Object serialized into a BSONArray.

ToBson(BsonSerializationContext)

Declaration
virtual BSONArray ToBson(BsonSerializationContext context)
Parameters
Type Name Description
BsonSerializationContext context
Returns
Type Description
BSONArray

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾