コード例 #1
0
 /// <summary>
 /// Convenience method to iterate through all explicitly configured members of a type and mark them as included.  Only
 /// these members will be considered to emit content during serialization as well as reading it during
 /// deserialization.
 /// </summary>
 /// <typeparam name="T">The type under configuration.</typeparam>
 /// <param name="this">The type to configure.</param>
 /// <returns>The configured type.</returns>
 public static ITypeConfiguration <T> IncludeConfiguredMembers <T>(this ITypeConfiguration <T> @this)
 => @this.IncludeConfiguredTypeMembers().Return(@this);