コード例 #1
0
 /// <summary>
 /// Marks a type as "allowed" so that it is emitted during serialization and read during deserialization.  Note that
 /// including a type establishes an "allowed-only" policy so that only types that are explicitly included are
 /// considered for processing.
 /// </summary>
 /// <typeparam name="T">The type under configuration.</typeparam>
 /// <param name="this">The type configuration to configure.</param>
 /// <returns>The configured type configuration.</returns>
 public static ITypeConfiguration <T> Include <T>(this ITypeConfiguration <T> @this)
 => @this.To <ITypeConfiguration>()
 .Include()
 .Return(@this);