Table of Contents

Class KeepNullElementsAttribute

Namespace
Rinku.Mapping
Assembly
Rinku.dll

Keeps a null element in a collection instead of dropping it. A reference or nullable element becomes null and another value type becomes its default value.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter)]
public sealed class KeepNullElementsAttribute : Attribute, INullColHandlerMaker
Inheritance
KeepNullElementsAttribute
Implements
Inherited Members
Extension Methods

Methods

MakeColHandler(Type, string?, object[], object?)

Builds the null rule for a member or parameter.

public INullColHandler MakeColHandler(Type type, string? name, object[] attributes, object? param)

Parameters

type Type
name string
attributes object[]
param object

Returns

INullColHandler