Exemplo n.º 1
0
        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        {
            if (reader.Value == null)
            {
                return((BbText)null);
            }
            BbText bbt = Activator.CreateInstance(objectType, reader.Value as string) as BbText;

            return(bbt);
        }
Exemplo n.º 2
0
 public Link()
 {
     IsInternal = false;
     Content    = "";
 }