예제 #1
0
 public void AddRenderingCreatorID(long id)
 {
     if (!RenderingCreatorIDs.Contains(id))
     {
         RenderingCreatorIDs.Add(id);
     }
 }
예제 #2
0
 public bool IsCreatorIDInRendering(long id)
 {
     if (id <= 0 || id == LoginUserInfo.SystemUserID || RenderingCreatorIDs.Count == 0)
     {
         return(true);
     }
     return(RenderingCreatorIDs.Contains(id));
 }
예제 #3
0
 public void ClearRenderingCreatorID()
 {
     RenderingCreatorIDs.Clear();
 }
예제 #4
0
 public void RemoveRenderingCreatorID(long id)
 {
     RenderingCreatorIDs.Remove(id);
 }
예제 #5
0
 public void SetRenderingCreatorIDs(long[] ids)
 {
     RenderingCreatorIDs.Clear();
     RenderingCreatorIDs.AddRange(ids);
 }