Exemple #1
0
 internal string Build(int[] tags)
 {
     this.tags = tags;
     foreach (int tag in tags)
     {
         if (!layoutParamsDict.ContainsKey(tag))
         {
             layoutParamsDict [tag] = new NendAdIconLayoutParams();
         }
     }
     return(Build());
 }
Exemple #2
0
        private NendAdIconLayoutParams GetLayoutParams(int tag)
        {
            NendAdIconLayoutParams layoutParams;

            if (layoutParamsDict.ContainsKey(tag))
            {
                layoutParams = layoutParamsDict [tag];
            }
            else
            {
                layoutParams           = new NendAdIconLayoutParams();
                layoutParamsDict [tag] = layoutParams;
            }
            return(layoutParams);
        }
 private NendAdIconLayoutParams GetLayoutParams(int tag)
 {
     NendAdIconLayoutParams layoutParams;
     if (layoutParamsDict.ContainsKey (tag)) {
         layoutParams = layoutParamsDict [tag];
     } else {
         layoutParams = new NendAdIconLayoutParams ();
         layoutParamsDict [tag] = layoutParams;
     }
     return layoutParams;
 }
 internal string Build(int[] tags)
 {
     this.tags = tags;
     foreach (int tag in tags) {
         if (!layoutParamsDict.ContainsKey (tag)) {
             layoutParamsDict [tag] = new NendAdIconLayoutParams ();
         }
     }
     return Build ();
 }