Example #1
0
 public SourceLocationMemberInvoker(XamlSourceLocationCollector sourceLocationCollector, SourceLocationMemberType sourceLocationMember)
 {
     this.sourceLocationCollector = sourceLocationCollector;
     this.sourceLocationMember    = sourceLocationMember;
 }
 public SourceLocationMemberInvoker(XamlSourceLocationCollector sourceLocationCollector, SourceLocationMemberType sourceLocationMember)
 {
     this.sourceLocationCollector = sourceLocationCollector;
     this.sourceLocationMember = sourceLocationMember;
 }
Example #3
0
        private XamlMember CreateAttachableMember(MethodInfo getter, MethodInfo setter, SourceLocationMemberType memberType)
        {
            string memberName = memberType.ToString();
            SourceLocationMemberInvoker invoker = new SourceLocationMemberInvoker(this.SourceLocationCollector, memberType);

            return(new XamlMember(memberName, getter, setter, this.schemaContext, invoker));
        }
 private XamlMember CreateAttachableMember(MethodInfo getter, MethodInfo setter, SourceLocationMemberType memberType)
 {
     string memberName = memberType.ToString();
     SourceLocationMemberInvoker invoker = new SourceLocationMemberInvoker(this.SourceLocationCollector, memberType);
     return new XamlMember(memberName, getter, setter, this.schemaContext, invoker);
 }