コード例 #1
0
        private void Add_Equals()
        {
            var m = Target.AddMethod("Equals", "bool")
                    .WithBodyFromExpression($"String.Equals({PropertyName}, other?.{PropertyName})");

            m.AddParam("other", Cfg.GetTypename());
        }