コード例 #1
0
        public FluentCodeProperty <TThis> Property(MemberAttributes attributes, CodeTypeReference type, string name)
        {
            var Property = new FluentCodeProperty <TThis>(new CodeMemberProperty(), this);

            Property.Attributes(attributes);
            Property.Type(type);
            Property.Name(name);

            _wrappedType.Members.Add(Property._wrappedType);
            return(Property);
        }
コード例 #2
0
 public FluentCodeGetPropertyBody(FluentCodeProperty <TParent> property, ICodeBodyProvider bodyProvider)
     : base(property, bodyProvider)
 {
 }