예제 #1
0
        public bool AddRecipient(string name, Common.EntityType type)
        {
            var entities = EntityLookup.Search(name, SearchOptions.ExactMatch | SearchOptions.Online, type);

            if (entities == null || entities.Length == 0)
            {
                return(false);
            }

            AddRecipients(entities);

            return(true);
        }
예제 #2
0
 public Common.model.IdentifiedObject[] GetEntityByType(Common.EntityType _type)
 {
     return(base.Channel.GetEntityByType(_type));
 }
예제 #3
0
 public Common.model.IdentifiedObject GetEntityById(Common.EntityType _type, string id)
 {
     return(base.Channel.GetEntityById(_type, id));
 }