Esempio n. 1
0
 internal Font(int rows, int rowHeight, int[] offsets, int[] widths)
 {
     Rows      = rows;
     RowHeight = rowHeight;
     Offsets   = new Collections.Immutable.ImmutableArray <int>(offsets);
     Widths    = new Collections.Immutable.ImmutableArray <int>(widths);
 }
Esempio n. 2
0
        public BaseEncoding(IEnumerable<char> alphabet)
        {
            Alphabet = new Collections.Immutable.ImmutableArray<char>(alphabet);

            if (Alphabet.Count == 1)
            {
                throw new Exception("Require at least two characters in the alphabet.");
            }
        }
Esempio n. 3
0
        public BaseEncoding(IEnumerable <char> alphabet)
        {
            Alphabet = new Collections.Immutable.ImmutableArray <char>(alphabet);

            if (Alphabet.Count == 1)
            {
                throw new Exception("Require at least two characters in the alphabet.");
            }
        }
Esempio n. 4
0
 public Message(object sender, string method, params object[] args)
 {
     Sender = sender;
     Method = method;
     Args   = new Collections.Immutable.ImmutableArray <object>(args);
 }
Esempio n. 5
0
 public Message(object sender, string method, params object[] args)
 {
     Sender = sender;
     Method = method;
     Args = new Collections.Immutable.ImmutableArray<object>(args);
 }