static public bool IsCustomFlagSet(IResource resource) { Guard.NullArgument(resource, "resource"); ResourceFlag flag = ResourceFlag.GetResourceFlag(resource); return(flag != null && !IsCompletedFlag(flag)); }
public static void PropagateFlag2Thread(IResource res) { ResourceFlag currentFlag = ResourceFlag.GetResourceFlag(res); IResourceList subTree = ConversationBuilder.UnrollConversationFromCurrent(res); Core.ResourceAP.QueueJob(new AssignFlagsDelegate(AssignFlags2List), currentFlag, subTree); }