public override bool Validate(object value) { return (base.Validate(value) && (value.GetType() != typeof(StructValue) || type.IsAssignableFrom(((StructValue)value).GetXType))); }
public override bool Validate(object value) { return (base.Validate(value) && (value.GetType() != typeof(StructValue) || type.IsAssignableFrom(((StructValue)value).GetXType))); }