示例#1
0
 /// <summary>
 /// Marks the specified type as ignored, meaning it will not emit or read when encountered in a graph.
 /// </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> Ignore <T>(this ITypeConfiguration <T> @this)
 => @this.Ignore(@this.Get())
 .Return(@this);