Exemplo n.º 1
0
        private OptionBacking makeUnion()
        {
            if (this.union == null)
            {
                this.union = new None();
            }

            return(this.union);
        }
Exemplo n.º 2
0
 public Option(None @case)
 {
     this.union = @case;
 }
Exemplo n.º 3
0
 public Option(Some @case)
 {
     this.union = @case;
 }