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