コード例 #1
0
 protected void InheritDecoration(DecorationXml obj, DecorationXml decoration)
 {
     if (decoration != null && decoration.Commands.Count > 0)
         if (obj == null || decoration.Commands.Count == 0)
             obj = decoration;
         else
         {
             for (int i = 0; i < decoration.Commands.Count; i++)
                 obj.Commands.Insert(i, decoration.Commands[i]);
         }
 }
コード例 #2
0
ファイル: DecorationStandaloneXml.cs プロジェクト: ywscr/NBi
 public DecorationStandaloneXml(DecorationXml full)
 {
     Commands = full.Commands;
 }