コード例 #1
0
ファイル: CoreAdapterTests.cs プロジェクト: uotools/OpenUO
        public void TestSkillFactory()
        {
            var factory = new SkillsFactory(Install, Container);
            var skill   = factory.GetSkill <Skill>(0);

            Guard.RequireIsNotNull(skill, "Skill was not created.");
        }
コード例 #2
0
        public void TestSkillFactory()
        {
            var factory = new SkillsFactory(Install, Container);
            var skill = factory.GetSkill<Skill>(0);

            Guard.RequireIsNotNull(skill, "Skill was not created.");
        }
コード例 #3
0
        public void TestSkillFactory()
        {
            SkillsFactory factory = new SkillsFactory(Install, Container);
            Skill         skill   = factory.GetSkill <Skill>(0);

            Guard.AssertIsNotNull(skill, "Skill was not created.");
        }
コード例 #4
0
        public void TestSkillFactory()
        {
            SkillsFactory factory = new SkillsFactory(Install, Container);
            Skill skill = factory.GetSkill<Skill>(0);

            Guard.AssertIsNotNull(skill, "Skill was not created.");
        }