public static GenericArgumentRestriction Create(GenericArgumentRestrictionType restrictionType) { return(new GenericArgumentRestriction(restrictionType, null)); }
public GenericArgumentRestriction(GenericArgumentRestrictionType restrictionType, Type type) { RestrictionType = restrictionType; Type = type; }