fBaseXtensions.XML.CustomConditions.ActorPresent C# (CSharp) Method

ActorPresent() public static method

public static ActorPresent ( int sno ) : bool
sno int
return bool
        public static bool ActorPresent(int sno)
        {
            if (ObjectCache.ShouldUpdateObjectCollection)
                ObjectCache.UpdateCacheObjectCollection();

            return ObjectCache.Objects.Values.Any(o => o.SNOID == sno);
        }