Exemple #1
0
    TCollectionAction ()
    {
      // Category
      CategoryRelationCollection = new Collection<CategoryRelation> ();

      // Component
      ComponentDescriptorCollection = new Collection<ComponentDescriptor> ();
      ComponentInfoCollection = new Collection<ComponentInfo> ();
      ComponentStatusCollection = new Collection<ComponentStatus> ();
      ComponentRelationCollection = new Collection<ComponentRelation> ();

      // Extension
      ExtensionGeometryCollection = new Collection<ExtensionGeometry> ();
      ExtensionImageCollection = new Collection<ExtensionImage> ();
      ExtensionLayoutCollection = new Collection<ExtensionLayout> ();
      ExtensionNodeCollection = new Collection<ExtensionNode> ();
      ExtensionTextCollection = new Collection<ExtensionText> ();
      ExtensionContentCollection = new Collection<ExtensionContent> ();

      // ById
      ModelCollection = new Dictionary<Guid, TModelAction> ();
      EntityCollection = new Dictionary<Guid, TEntityAction> ();
      EntityDictionary = new Dictionary<Guid, Dictionary<Guid, TEntityAction>> ();

      ComponentOperation = TComponentOperation.CreateDefault;
    }
Exemple #2
0
 public void SelectComponentOperation (TComponentOperation.TInternalOperation operation)
 {
   ComponentOperation = TComponentOperation.Create (operation);
 }