Esempio n. 1
0
        public MarkerBuilder Window(Action <InfoWindowFactory> action)
        {
            if (action == null)
            {
                throw new ArgumentNullException(nameof(action));
            }

            var factory = new InfoWindowFactory(this.Marker);

            action(factory);
            return(this);
        }
Esempio n. 2
0
        public MarkerBuilder Window(Action<InfoWindowFactory> action)
        {
            if (action == null) throw new ArgumentNullException("action");

            var factory = new InfoWindowFactory(Marker);
            action(factory);
            return this;
        }