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