예제 #1
0
        public void RegisterPawns(BlsPawn[] pawns)
        {
            _pawns = pawns;

            if (_pawns == null || _pawns.Length == 0)
            {
                throw new EmptyPawnCollectionError();
            }

            VerifyUniqueNames(pawns);
            _storageNamingEncoder = new NaiveStorageNamingEncoder();
        }
예제 #2
0
 public void OverrideStorageNamingEncoder(IStorageNamingEncoder encoder)
 {
     _storageNamingEncoder = encoder;
 }
예제 #3
0
 [ExcludeFromCodeCoverage] // pass through
 public void OverrideStorageNamingEncoder(IStorageNamingEncoder encoder)
 {
     Graph.OverrideStorageNamingEncoder(encoder);
 }