예제 #1
0
        protected override bool UpdateTarget(ReceiveContext context)
        {
            PublicModel role = this.Target as PublicModel;
            if(role == null)
                this.Target = role = new PublicModel(((Guid) this.TargetId));

            base.UpdateTarget(context);

            return true;
        }
예제 #2
0
 public PublicMessage(PublicModel role)
     : base(role)
 {
     // Currently PublicModel has no published properties.
 }