예제 #1
0
    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;
    }
예제 #2
0
 public bool IsComponentOperation (TInternalOperation componentOperation)
 {
   return (Operation.Equals (componentOperation));
 }
예제 #3
0
 TComponentOperation (TInternalOperation componentOperation)
   : this ()
 {
   Operation = componentOperation;
 }
예제 #4
0
 public static TComponentOperation Create (TInternalOperation contentOperation) => (new TComponentOperation (contentOperation));