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); }
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); }
private void UnMark(IId target, IId isStreaming) { if (!target.IsRefIId()) { return; } if (!target.ContainsProperty(isStreaming)) { return; } target.RemoveProperty(isStreaming); }
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); } }
public static bool IsSet(IId id) { return id.ContainsProperty(setId); }
public static bool IsSet(IId id) { return(id.ContainsProperty(setId)); }