public static Func <MBeanParameterInfo> TypedAs(this IParameterBuilder builder, OpenType openType) { ((IBuilder)builder).Descriptor.SetField(OpenTypeDescriptor.Field, openType); return(builder.TypedAs(openType.Representation)); }
public static Func <MBeanParameterInfo> TypedAs <T>(this IParameterBuilder builder) { return(builder.TypedAs(typeof(T))); }