public AutoMapperConfigurationStartupTask(IConfigurationProvider configurationProvider, IProfileExpression profileExpression, IMapCreator[] mapCreators) { if (configurationProvider == null) { throw new ArgumentNullException("configurationProvider"); } if (profileExpression == null) { throw new ArgumentNullException("profileExpression"); } if (mapCreators == null) { throw new ArgumentNullException("mapCreators"); } if (mapCreators.Length == 0) { throw new ArgumentException("Cannot be an empty array", "mapCreators"); } _configurationProvider = configurationProvider; _profileExpression = profileExpression; _mapCreators = mapCreators; }
public void LoadLevel(int level) { if (AssemblyConstants.Levels.Length < level) { throw new ArgumentOutOfRangeException($"There is no level {level}"); } _mapCreator = _diContainer.Resolve <IMapCreator>(); var labyrinthReader = _diContainer.Resolve <ILabyrinthReader>(); (labyrinthReader as IResourceLabyrinthReader)?.Initialize(AssemblyConstants.AssemblyName, AssemblyConstants.Levels[level - 1]); _mapCreator.Initialize(labyrinthReader); }
public void FindPath(IMapCreator creator) { _map = creator.CreateMap(); StartSearching(); }
public GetLayers(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public RemoveGroup(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public GetDataExtent(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public MapCreatorExtendedAction(IMapCreator mapCreator) { _mapCreator = mapCreator; }
public AutoMapperConfigurator(IConfiguration configuration, IMapCreator[] mapCreators) { _configuration = ArgumentValidation.IsNotNull(configuration, "configuration"); _mapCreators = ArgumentValidation.IsNotNull(mapCreators, "mapCreators"); }
public AddLayerGroup(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public IsLayerVisible(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public GetLegendLabel(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public GetDisplayInLegend(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
private void Awake() { this._mapCreator = FindObjectOfType <MapCreator>() ?? this.gameObject.AddComponent <MapCreator>(); this._text = FindObjectOfType <TextMeshProUGUI>() ?? throw new ArgumentNullException(nameof(this._text)); }
public void AddFirst(IMapCreator mapCreator) { _extendedActions.Insert(0, new MapCreatorExtendedAction(mapCreator)); }
public void Add(IMapCreator mapCreator) { _extendedActions.Add(new MapCreatorExtendedAction(mapCreator)); }
protected MapLayerOperationExecutor(MgResourceService resSvc, string unitTestVm, IMapCreator creator) : base(typeof(T).Name.ToUpper(), ApiTypes.Platform, unitTestVm) { _resourceService = resSvc; _creator = creator; }
private Map Generate(IMapCreator creator) { return(creator.Create()); }
public GetCoordinateSystem(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public GetViewScale(MgResourceService resSvc, string vm, IMapCreator creator) : base(resSvc, vm, creator) { }
public void FindPath(IMapCreator mapCreator) { throw new NotImplementedException(); }