TComponentOperation () { CategoryCollection = new Collection<int> (); IdCollection = new Collection<Guid> (); ChildIdCollection = new Dictionary<Guid, Collection<ComponentRelation>> (); ParentIdCollection = new Dictionary<Guid, Collection<ComponentRelation>> (); ChildCategoryCollection = new Dictionary<int, Collection<ComponentRelation>> (); ParentCategoryCollection = new Dictionary<int, Collection<ComponentRelation>> (); Operation = TInternalOperation.None; }
public bool IsComponentOperation (TInternalOperation componentOperation) { return (Operation.Equals (componentOperation)); }
TComponentOperation (TInternalOperation componentOperation) : this () { Operation = componentOperation; }
public static TComponentOperation Create (TInternalOperation contentOperation) => (new TComponentOperation (contentOperation));