コード例 #1
0
        public void Is_Type_Mapper_Work()
        {
            _container = DependencyService.Instance.CurrentResolver;

            IConfigurationReader _reader = _container.Resolve <IConfigurationReader>();

            Type stringType = _reader.TypeMap("string");
            Type floatType  = _reader.TypeMap("float");

            Assert.Equal(typeof(string), stringType);
            Assert.Equal(typeof(float), floatType);
            //Assert.IsType<float>(floatType);
        }