• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Expressions.MemberListBinding类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Linq.Expressions.MemberListBinding的典型用法代码示例。如果您正苦于以下问题:C# MemberListBinding类的具体用法?C# MemberListBinding怎么用?C# MemberListBinding使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



MemberListBinding类属于System.Linq.Expressions命名空间,在下文中一共展示了MemberListBinding类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: VisitMemberListBinding

		protected override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
		{
			this.output.Append(binding.Member.Name).Append(" = ");
			this.VisitElementInitializerList(binding.Initializers);

			return binding;
		}
开发者ID:tumtumtum,项目名称:Shaolinq,代码行数:7,代码来源:ProjectorFormatter.cs


示例2: EditableMemberListBinding

 public EditableMemberListBinding(MemberListBinding member)
     : base(member.BindingType, member.Member)
 {
     Initializers = new EditableElementInitCollection();
     foreach (ElementInit e in member.Initializers)
     {
         Initializers.Add(new EditableElementInit(e));
     }
 }
开发者ID:juanplopes,项目名称:simple,代码行数:9,代码来源:EditableMemberListBinding.cs


示例3: VisitMemberListBinding

 protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     IEnumerable<ElementInit> initializers = VisitElementInitializerList(binding.Initializers);
     // ReSharper disable once PossibleUnintendedReferenceComparison
     if(initializers != binding.Initializers)
     {
         return System.Linq.Expressions.Expression.ListBind(binding.Member, initializers);
     }
     return binding;
 }
开发者ID:NatashaSchutte,项目名称:Warewolf-ESB,代码行数:10,代码来源:ExpressionVisitor.cs


示例4: VisitMemberListBinding

        /// <summary>
        /// Visit a member list binding expression.
        /// </summary>
        /// <param name="listBindingExp"></param>
        /// <returns></returns>
        protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding listBindingExp)
        {
            IEnumerable<ElementInit> initializers = VisitElementInitializerList(listBindingExp.Initializers);

            return initializers != listBindingExp.Initializers ? Expression.ListBind(listBindingExp.Member, initializers) : listBindingExp;
        }
开发者ID:jd-pantheon,项目名称:Titan-Framework-v2,代码行数:11,代码来源:ExpressionVisitor.cs


示例5: VisitMemberListBinding

 protected override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     this.Write(binding.Member.Name);
     this.Write(" = {");
     this.WriteLine(Indentation.Inner);
     this.VisitElementInitializerList(binding.Initializers);
     this.WriteLine(Indentation.Outer);
     this.Write("}");
     return binding;
 }
开发者ID:PaybackMan,项目名称:Cinder,代码行数:10,代码来源:ExpressionWriter.cs


示例6: VisitMemberListBinding

 protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(binding.Initializers);
     return this.UpdateMemberListBinding(binding, binding.Member, initializers);
 }
开发者ID:Bitwix,项目名称:XeroAPI.Net,代码行数:5,代码来源:ExpressionVisitor.cs


示例7: VisitMemberListBinding

 /// <summary>
 /// MemberListBinding visit method
 /// </summary>
 /// <param name="binding">The MemberListBinding to visit</param>
 /// <returns>The visited MemberListBinding</returns>
 internal override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     this.VisitElementInitializerList(binding.Initializers);
     return binding; 
 }
开发者ID:larsenjo,项目名称:odata.net,代码行数:10,代码来源:NonClrExpressionTreeToXmlSerializer.cs


示例8: VisitMemberListBinding

		protected override void VisitMemberListBinding (MemberListBinding binding)
		{
			var value = Pop ();
			Push (value);
			VisitMemberInfo (binding.Member);
			VisitElementInitializerList (binding.Initializers);
			Pop (); // pop the member
			Push (value); // push the original target
		}
开发者ID:BEllis,项目名称:SpecFlow,代码行数:9,代码来源:ExpressionInterpreter.cs


示例9: VisitMemberListBinding

 protected virtual void VisitMemberListBinding(MemberListBinding binding)
 {
     this.VisitElementInitializerList(binding.Initializers);
     throw new NotImplementedException ();
 }
开发者ID:kewell-tsao,项目名称:AluminumLua,代码行数:5,代码来源:ExpressionVisitor.cs


示例10: PVisitMemberListBinding

 protected virtual void PVisitMemberListBinding(MemberListBinding binding)
 {
 }
开发者ID:mbsky,项目名称:dotnetmarcheproject,代码行数:3,代码来源:PostfixExpressionVisitor.cs


示例11: SerializableMemberListBinding

 /// <summary>
 /// Constructor with an <see cref="MemberListBinding"/> and an <see cref="ExpressionConverter"/>.
 /// </summary>
 /// <param name="memberListBinding">The original, not serializable <see cref="MemberBinding"/>.</param>
 /// <param name="expConverter">The <see cref="ExpressionConverter"/> to convert contained <see cref="Expression">Expressions</see>.</param>
 public SerializableMemberListBinding(MemberListBinding memberListBinding, ExpressionConverter expConverter)
     : base(memberListBinding, expConverter)
 {
     Initializers = expConverter.ConvertToSerializableObjectCollection<SerializableElementInit>(memberListBinding.Initializers);
 }
开发者ID:yallie,项目名称:zyan,代码行数:10,代码来源:SerializableMemberListBinding.cs


示例12: VisitMemberListBinding

 protected virtual string VisitMemberListBinding(MemberListBinding binding)
 {
     throw new NotSupportedException();
 }
开发者ID:Robelind,项目名称:knockout-mvc,代码行数:4,代码来源:KnockoutExpressionConverter.cs


示例13: VisitMemberListBinding

        private Expression VisitMemberListBinding(MemberListBinding binding)
        {
            foreach (var p in this.VisitElementInitializerList(binding.Initializers))
            {
                if (p != null)
                    return p;
            }

            return null;
        }
开发者ID:laymain,项目名称:CodeDomUtils,代码行数:10,代码来源:QueryVisitor.cs


示例14: VisitMemberListBinding

 /// <summary>
 /// Visits a MemberListBinding.
 /// </summary>
 /// <param name="node">The MemberListBinding.</param>
 /// <returns>The MemberListBinding (possibly modified).</returns>
 protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding node)
 {
     IEnumerable<ElementInit> initializers = this.VisitElementInitList(node.Initializers);
     if (initializers != node.Initializers)
     {
         return Expression.ListBind(node.Member, initializers);
     }
     return node;
 }
开发者ID:purplecow,项目名称:mongo-csharp-driver,代码行数:14,代码来源:ExpressionVisitor.cs


示例15: VisitMemberListBinding

 /// <summary>
 /// Visits a MemberListBinding
 /// </summary>
 /// <param name="binding">MemberListBinding Expression</param>
 protected virtual void VisitMemberListBinding(MemberListBinding binding)
 {
     VisitElementInitializerList(binding.Initializers);
 }
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:ExpressionTreeVisitor.cs


示例16: VisitMemberListBinding

 protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     var initializers = VisitElementInitializerList(binding.Initializers);
     return !Equals(initializers, binding.Initializers) ? Expression.ListBind(binding.Member, initializers) : binding;
 }
开发者ID:powerinbox,项目名称:parse-dotnet,代码行数:5,代码来源:ExpressionVisitor.cs


示例17: MemberListBindingNode

 public MemberListBindingNode(INodeFactory factory, MemberListBinding memberListBinding)
     : base(factory, memberListBinding.BindingType, memberListBinding.Member)
 {
     this.Initializers = new ElementInitNodeList(this.Factory, memberListBinding.Initializers);
 }
开发者ID:jonparker,项目名称:Serialize.Linq,代码行数:5,代码来源:MemberListBindingNode.cs


示例18: VisitMemberListBinding

 /// <summary>
 /// MemberListBinding visit method
 /// </summary>
 /// <param name="binding">The MemberListBinding to visit</param>
 /// <returns>The visited MemberListBinding</returns>
 internal override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     throw new NotImplementedException();
 }
开发者ID:larsenjo,项目名称:odata.net,代码行数:9,代码来源:ExpressionTreeToXmlSerializer.cs


示例19: VisitMemberListBinding

 /// <summary>
 /// Visits a MemberListBinding.
 /// </summary>
 /// <param name="node">The MemberListBinding.</param>
 /// <returns>The MemberListBinding.</returns>
 protected override MemberListBinding VisitMemberListBinding(MemberListBinding node)
 {
     _sb.Append("<MemberListBinding>");
     return node;
 }
开发者ID:Bogdan0x400,项目名称:mongo-csharp-driver,代码行数:10,代码来源:ExpressionFormatter.cs


示例20: VisitMemberListBinding

 internal virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
 {
     var initializers = VisitElementInitializerList(binding.Initializers);
     if (initializers != binding.Initializers)
     {
         return Expression.ListBind(binding.Member, initializers);
     }
     return binding;
 }
开发者ID:Cireson,项目名称:EntityFramework6,代码行数:9,代码来源:EntityExpressionVisitor.cs



注:本文中的System.Linq.Expressions.MemberListBinding类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Expressions.MemberMemberBinding类代码示例发布时间:2022-05-26
下一篇:
C# Expressions.MemberInitExpression类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap