IsCreatedBy() public method

Je skupina vytvořena uživatelem?
public IsCreatedBy ( User user ) : bool
user User Testovaný uživatel
return bool
示例#1
0
 public void IsCreatedByTest()
 {
     Group group = new Group();
     User user = new User();
     Assert.IsFalse(group.IsCreatedBy(user));
     group.Creator = user;
     Assert.IsTrue(group.IsCreatedBy(user));
 }