private void bindOne(IBlock block, Share share)
        {
            block.Set("share.Id", share.Id);
            //block.Set( "share.Content", share.Content );
            block.Set("share.Created", share.Created);

            IBlock cblock = block.GetBlock("comments");

            bindComments(cblock, share.GetComments());
        }
示例#2
0
        private void bindOne( IBlock block, Share share )
        {
            block.Set( "share.Id", share.Id );
            //block.Set( "share.Content", share.Content );
            block.Set( "share.Created", share.Created );

            IBlock cblock = block.GetBlock( "comments" );
            bindComments( cblock, share.GetComments() );
        }