Ejemplo n.º 1
0
        protected BufferReference createBuffer(string name)
        {
            BufferReference r = new BufferReference(name);

            references.Add(r);
            return(r);
        }
Ejemplo n.º 2
0
 internal void reference(BufferReference br)
 {
     if (references.Contains(br))
     {
         throw new Exception(br.Name + " already addd to " + this.ToString());
     }
     references.Add(br);
 }