Exemplo n.º 1
0
 protected static void ToStringFields(
     IMagicEffectKeywordArchetypeGetter item,
     FileGeneration fg,
     MagicEffectKeywordArchetype.Mask <bool>?printMask = null)
 {
     MagicEffectArchetypeCommon.ToStringFields(
         item: item,
         fg: fg,
         printMask: printMask);
 }
Exemplo n.º 2
0
 public void FillEqualsMask(
     IMagicEffectKeywordArchetypeGetter item,
     IMagicEffectKeywordArchetypeGetter rhs,
     MagicEffectKeywordArchetype.Mask <bool> ret,
     EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
 {
     if (rhs == null)
     {
         return;
     }
     base.FillEqualsMask(item, rhs, ret, include);
 }
Exemplo n.º 3
0
        public string ToString(
            IMagicEffectKeywordArchetypeGetter item,
            string?name = null,
            MagicEffectKeywordArchetype.Mask <bool>?printMask = null)
        {
            var fg = new FileGeneration();

            ToString(
                item: item,
                fg: fg,
                name: name,
                printMask: printMask);
            return(fg.ToString());
        }
Exemplo n.º 4
0
        public MagicEffectKeywordArchetype.Mask <bool> GetEqualsMask(
            IMagicEffectKeywordArchetypeGetter item,
            IMagicEffectKeywordArchetypeGetter rhs,
            EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
        {
            var ret = new MagicEffectKeywordArchetype.Mask <bool>(false);

            ((MagicEffectKeywordArchetypeCommon)((IMagicEffectKeywordArchetypeGetter)item).CommonInstance() !).FillEqualsMask(
                item: item,
                rhs: rhs,
                ret: ret,
                include: include);
            return(ret);
        }
Exemplo n.º 5
0
 public void ToString(
     IMagicEffectKeywordArchetypeGetter item,
     FileGeneration fg,
     string?name = null,
     MagicEffectKeywordArchetype.Mask <bool>?printMask = null)
 {
     if (name == null)
     {
         fg.AppendLine($"MagicEffectKeywordArchetype =>");
     }
     else
     {
         fg.AppendLine($"{name} (MagicEffectKeywordArchetype) =>");
     }
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         ToStringFields(
             item: item,
             fg: fg,
             printMask: printMask);
     }
     fg.AppendLine("]");
 }