Ejemplo n.º 1
0
        static public bool IsCustomFlagSet(IResource resource)
        {
            Guard.NullArgument(resource, "resource");
            ResourceFlag flag = ResourceFlag.GetResourceFlag(resource);

            return(flag != null && !IsCompletedFlag(flag));
        }
Ejemplo n.º 2
0
        public static void  PropagateFlag2Thread(IResource res)
        {
            ResourceFlag  currentFlag = ResourceFlag.GetResourceFlag(res);
            IResourceList subTree     = ConversationBuilder.UnrollConversationFromCurrent(res);

            Core.ResourceAP.QueueJob(new AssignFlagsDelegate(AssignFlags2List), currentFlag, subTree);
        }