コード例 #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
ファイル: Reference.cs プロジェクト: puppyzvezdas/CrFSM
 public Common.model.IdentifiedObject[] GetEntityByType(Common.EntityType _type)
 {
     return(base.Channel.GetEntityByType(_type));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: puppyzvezdas/CrFSM
 public Common.model.IdentifiedObject GetEntityById(Common.EntityType _type, string id)
 {
     return(base.Channel.GetEntityById(_type, id));
 }