Exemple #1
0
        public override EmbedBuilder ResolveProperty(object owner, PropertyInfo property, EmbedBuilder builder)
        {
            builder.Color = property.GetValue(owner) as ReColor ?? Value ?? builder.Color ?? ReColor.Random();

            return(builder);
        }
Exemple #2
0
 public void RegisterHandlerReColor(ReColor del)
 {
     reColor += del;
 }
Exemple #3
0
 public EmbedColorAttribute(ReColors value)
 {
     Value = new ReColor(value);
 }