Exemple #1
0
        public void TestGenerate()
        {
            var php = _generator.Generate(new Property("foo"));

            Assert.AreEqual("private $foo;", php);
        }
 /// <summary>
 /// Generates code for the specified property information.
 /// </summary>
 /// <param name="propertyInfo">The property information.</param>
 /// <returns>System.String.</returns>
 public string Generate(PropertyInfo propertyInfo) => _propertyGenerator.Generate(propertyInfo);