コード例 #1
0
 public GlListDrawable(IDrawable drawable)
 {
     if (drawable == null) { throw new ArgumentNullException("drawable"); }
     this.refresh = -1;
     this.drawable = drawable;
     this.bufferedDrawable = drawable as BufferedDrawable;
 }
コード例 #2
0
 public GlListDrawable(IDrawable drawable)
 {
     if (drawable == null)
     {
         throw new ArgumentNullException("drawable");
     }
     this.refresh          = -1;
     this.drawable         = drawable;
     this.bufferedDrawable = drawable as BufferedDrawable;
 }