public override bool RemoveCategory(IndexTarget template)
        {
            if (NOCateIndex)
            {
                return(false);
            }
            Unifiable unify = ToUpper();

            return(unify.RemoveCategory(template));
        }
Esempio n. 2
0
        protected override MutableObject Mutate(MutableObject mutable)
        {
            foreach (var entry in IndexTarget.GetEntries(mutable))
            {
                var groupId = GroupId.GetValue(entry);

                var index = (DataShare.ContainsKey(groupId)
                    ? DataShare[groupId]
                    : 0);

                if (groupId != "")
                {
                    DataShare[groupId] = index + 1;
                }

                IndexTarget.SetValue(index, entry);
            }

            return(mutable);
        }
Esempio n. 3
0
        protected override void OnProcessOutputSchema(MutableObject newSchema)
        {
            IndexTarget.SetValue(0, newSchema);

            Router.TransmitAllSchema(newSchema);
        }