コード例 #1
0
 public void ValidMethod()
 {
     XmlRpcExposedAttribute.ExposedMethod(this, "ValidMethod");
 }
コード例 #2
0
 public void MethodAccess()
 {
     Assertion.Assert("Method on normal object", XmlRpcExposedAttribute.ExposedMethod(this, "MethodAccess"));
     Assertion.Assert("Exposed method on exposed object", XmlRpcExposedAttribute.ExposedMethod(_e, "Open"));
     Assertion.Assert("Closed method on exposed object", !XmlRpcExposedAttribute.ExposedMethod(_e, "Closed"));
 }
コード例 #3
0
 public void InvalidMethod()
 {
     XmlRpcExposedAttribute.ExposedMethod(this, "fobar");
 }