当前位置: 首页>>代码示例>>C#>>正文


C# Expressions.MemberMemberBinding类代码示例

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


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

示例1: VisitMemberMemberBinding

 /// <summary>
 /// Visits a MemberMemberBinding.
 /// </summary>
 /// <param name="node">The MemberMemberBinding.</param>
 /// <returns>The MemberMemberBinding (possibly modified).</returns>
 protected virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding node)
 {
     IEnumerable<MemberBinding> bindings = this.VisitMemberBindingList(node.Bindings);
     if (bindings != node.Bindings)
     {
         return Expression.MemberBind(node.Member, bindings);
     }
     return node;
 }
开发者ID:purplecow,项目名称:mongo-csharp-driver,代码行数:14,代码来源:ExpressionVisitor.cs

示例2: VisitMemberMemberBinding

        /// <summary>
        /// Visit a member binding expression.
        /// </summary>
        /// <param name="memberBindingExp"></param>
        /// <returns></returns>
        protected virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding memberBindingExp)
        {
            IEnumerable<MemberBinding> bindings = VisitBindingList(memberBindingExp.Bindings);

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

示例3: VisitMemberMemberBinding

 protected virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding binding)
 {
     IEnumerable<MemberBinding> bindings = VisitBindingList(binding.Bindings);
     // ReSharper disable once PossibleUnintendedReferenceComparison
     if(bindings != binding.Bindings)
     {
         return System.Linq.Expressions.Expression.MemberBind(binding.Member, bindings);
     }
     return binding;
 }
开发者ID:NatashaSchutte,项目名称:Warewolf-ESB,代码行数:10,代码来源:ExpressionVisitor.cs

示例4: UpdateMemberMemberBinding

 protected MemberMemberBinding UpdateMemberMemberBinding(MemberMemberBinding binding, MemberInfo member, IEnumerable<MemberBinding> bindings)
 {
     if (bindings != binding.Bindings || member != binding.Member)
     {
         return Expression.MemberBind(member, bindings);
     }
     return binding;
 }
开发者ID:Bitwix,项目名称:XeroAPI.Net,代码行数:8,代码来源:ExpressionVisitor.cs

示例5: MemberMemberBindingNode

 public MemberMemberBindingNode(NodeContext factory, MemberMemberBinding memberMemberBinding) : base(factory, memberMemberBinding.BindingType, memberMemberBinding.Member)
 {
     Bindings = new MemberBindingNodeList(factory, memberMemberBinding.Bindings);
 }
开发者ID:gulbanana,项目名称:Serialize.Linq,代码行数:4,代码来源:MemberMemberBindingNode.cs

示例6: VisitMemberMemberBinding

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

示例7: CompareMemberMemberBinding

 protected virtual bool CompareMemberMemberBinding(MemberMemberBinding a, MemberMemberBinding b)
 {
     return a.Member == b.Member
         && this.CompareBindingList(a.Bindings, b.Bindings);
 }
开发者ID:hamdouchi97,项目名称:Stump.ORM,代码行数:5,代码来源:ExpressionComparer.cs

示例8: MemberMemberBindingMutator

 public MemberMemberBindingMutator(MemberMemberBinding memberMemberBinding)
 {
     MemberMemberBinding = memberMemberBinding;
 }
开发者ID:calumjiao,项目名称:Mono-Class-Libraries,代码行数:4,代码来源:MemberMemberBindingMutator.cs

示例9: VisitMemberMemberBinding

 internal virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding binding)
 {
     var bindings = VisitBindingList(binding.Bindings);
     if (bindings != binding.Bindings)
     {
         return Expression.MemberBind(binding.Member, bindings);
     }
     return binding;
 }
开发者ID:Cireson,项目名称:EntityFramework6,代码行数:9,代码来源:EntityExpressionVisitor.cs

示例10: VisitMemberMemberBinding

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

示例11: VisitMemberMemberBinding

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

示例12: PVisitMemberMemberBinding

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

示例13: VisitMemberMemberBinding

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

示例14: VisitMemberMemberBinding

 private Expression VisitMemberMemberBinding(MemberMemberBinding binding)
 {
     foreach (var p in this.VisitBindingList(binding.Bindings))
     {
         if (p != null)
             return p;
     }
     return null;
 }
开发者ID:laymain,项目名称:CodeDomUtils,代码行数:9,代码来源:QueryVisitor.cs

示例15: SerializableMemberMemberBinding

 /// <summary>
 /// Constructor with an <see cref="MemberMemberBinding"/> and an <see cref="ExpressionConverter"/>.
 /// </summary>
 /// <param name="memberMemberBinding">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 SerializableMemberMemberBinding(MemberMemberBinding memberMemberBinding, ExpressionConverter expConverter)
     : base(memberMemberBinding, expConverter)
 {
     Bindings = expConverter.ConvertToSerializableObjectCollection<SerializableMemberBinding>(memberMemberBinding.Bindings);
 }
开发者ID:yallie,项目名称:zyan,代码行数:10,代码来源:SerializableMemberMemberBinding.cs


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