コード例 #1
0
 public void CanGetContainsCustomId()
 {
     Assert.IsTrue(StaticContainer.ContainsCustomId <TestEmptyClass>(DEFAULT_ID));
     Assert.IsTrue(StaticContainer.ContainsCustomId <TestEmptyClass>(CUSTOM_ID));
     Assert.IsTrue(StaticContainer.ContainsCustomId <TestEmptyClass>(PROTOTYPE_ID));
     Assert.IsFalse(StaticContainer.ContainsCustomId <TestStruct>(DEFAULT_ID));
     Assert.IsTrue(StaticContainer.ContainsCustomId <TestStruct>(CUSTOM_ID));
 }