コード例 #1
0
        public static GaSymMapUnilinearComposed Create(params IGaSymMapUnilinear[] mappingsList)
        {
            var resultMap = new GaSymMapUnilinearComposed(mappingsList[0]);

            for (var i = 1; i < mappingsList.Length; i++)
            {
                resultMap.AddMapping(mappingsList[i]);
            }

            return(resultMap);
        }
コード例 #2
0
        public static GaSymMapUnilinearComposed Create(IEnumerable <IGaSymMapUnilinear> mappingsList)
        {
            var mappingsArray = mappingsList.ToArray();
            var resultMap     = new GaSymMapUnilinearComposed(mappingsArray[0]);

            for (var i = 1; i < mappingsArray.Length; i++)
            {
                resultMap.AddMapping(mappingsArray[i]);
            }

            return(resultMap);
        }