Esempio n. 1
0
 public static void AddNameSpaceChild(IId parentId, IId childId)
 {
     if(!parentId.ContainsProperty(nsChildren))
     parentId.SetProperty(nsChildren,DfSet.CreateSet());
       var set = parentId.GetProperty(nsChildren);
       DfSet.AddToSet(set,childId);
 }
Esempio n. 2
0
        public static void AddNameSpaceChild(IId parentId, IId childId)
        {
            if (!parentId.ContainsProperty(nsChildren))
            {
                parentId.SetProperty(nsChildren, DfSet.CreateSet());
            }
            var set = parentId.GetProperty(nsChildren);

            DfSet.AddToSet(set, childId);
        }
Esempio n. 3
0
 private void UnMark(IId target, IId isStreaming)
 {
     if (!target.IsRefIId())
     {
         return;
     }
     if (!target.ContainsProperty(isStreaming))
     {
         return;
     }
     target.RemoveProperty(isStreaming);
 }
Esempio n. 4
0
 private void AddIdAndMark(IId target, List <string> acc, IId isStreaming)
 {
     if (!target.IsRefIId())
     {
         return;
     }
     if (target.ContainsProperty(isStreaming))
     {
         return;
     }
     acc.Add(target.GetFullPropertyDescription());
     target.SetProperty(isStreaming, isStreaming);
     foreach (var propertiesAndValue in target.GetPropertiesAndValues().Where(o => o != isStreaming))
     {
         AddIdAndMark(propertiesAndValue, acc, isStreaming);
     }
 }
Esempio n. 5
0
 public static bool IsSet(IId id)
 {
     return id.ContainsProperty(setId);
 }
Esempio n. 6
0
 public static bool IsSet(IId id)
 {
     return(id.ContainsProperty(setId));
 }