• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    Class BondConfigurationBuilderExtensions

    Extensions for the configuration builder for the

    Microsoft.Bond
    based ICacheSerializer.

    Inheritance
    Object
    BondConfigurationBuilderExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Core
    Assembly:CacheManager.Serialization.Bond.dll
    Syntax
    public static class BondConfigurationBuilderExtensions

    Methods

    | Improve this Doc View Source

    WithBondCompactBinarySerializer(ConfigurationBuilderCachePart, Int32)

    Configures the cache manager to use the

    Microsoft.Bond
    based cache serializer. This version uses Bond.Protocols.CompactBinaryWriter`1 and Bond.Protocols.CompactBinaryReader`1.

    Declaration
    public static ConfigurationBuilderCachePart WithBondCompactBinarySerializer(this ConfigurationBuilderCachePart part, int defaultWriteBufferSize = 1024)
    Parameters
    Type Name Description
    ConfigurationBuilderCachePart part

    The configuration part.

    Int32 defaultWriteBufferSize

    The buffer size used to serialize objects. Can be used to tune Bond performance.

    Returns
    Type Description
    ConfigurationBuilderCachePart

    The builder instance.

    | Improve this Doc View Source

    WithBondFastBinarySerializer(ConfigurationBuilderCachePart, Int32)

    Configures the cache manager to use the

    Microsoft.Bond
    based cache serializer. This version uses Bond.Protocols.FastBinaryWriter`1 and Bond.Protocols.FastBinaryReader`1.

    Declaration
    public static ConfigurationBuilderCachePart WithBondFastBinarySerializer(this ConfigurationBuilderCachePart part, int defaultWriteBufferSize = 1024)
    Parameters
    Type Name Description
    ConfigurationBuilderCachePart part

    The configuration part.

    Int32 defaultWriteBufferSize

    The buffer size used to serialize objects. Can be used to tune Bond performance.

    Returns
    Type Description
    ConfigurationBuilderCachePart

    The builder instance.

    | Improve this Doc View Source

    WithBondSimpleJsonSerializer(ConfigurationBuilderCachePart)

    Configures the cache manager to use the

    Microsoft.Bond
    based cache serializer. This version uses Bond.Protocols.FastBinaryWriter`1 and Bond.Protocols.FastBinaryReader`1.

    Declaration
    public static ConfigurationBuilderCachePart WithBondSimpleJsonSerializer(this ConfigurationBuilderCachePart part)
    Parameters
    Type Name Description
    ConfigurationBuilderCachePart part

    The configuration part.

    Returns
    Type Description
    ConfigurationBuilderCachePart

    The builder instance.

    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net