Пример #1
0
    public Task ShouldIgnoreEmptyList()
    {
        var target = new CollectionTarget
        {
            DictionaryProperty  = new Dictionary <int, string>(),
            IReadOnlyDictionary = new Dictionary <int, string>(),
            ReadOnlyList        = new List <string>(),
            ListProperty        = new List <string>(),
            ReadOnlyCollection  = new List <string>(),
            Array = new string[] { }
        };

        return(Verify(target));
    }
Пример #2
0
 public Map()
 {
     version                     = MAP_VERSION;
     width                       = 11;
     height                      = 9;
     mode                        = MapMode.MOVE;
     limit                       = 25;
     energyScore                 = 0;
     nextEnergyScore             = 0;
     layers                      = new List <LayerData>();
     creators                    = new List <CreatorData>();
     genPositions                = new List <GenPos>();
     targets                     = new List <KeyValue>();
     collectionTarget            = new CollectionTarget();
     collectionTarget.elements   = new string[] { };
     collectionTarget.genPos     = new List <Coord2>();
     collectionTarget.collectPos = new List <Coord2>();
     wormHole                    = new List <CoordinatePair>();
 }
Пример #3
0
 public IThrough <T, TTarget> Load <TTarget>(CollectionTarget <T, TTarget> target, ColumnsFunc <TTarget> columns = null)
 {
     throw new NotImplementedException();
 }
Пример #4
0
 public ILoadSubCollection <T, TTarget> Load <TTarget>(CollectionTarget <T, TTarget> target, Join <T, TTarget> join, ColumnsFunc <TTarget> columns = null)
 {
     throw new NotImplementedException();
 }