コード例 #1
0
 public ShouldSerializeContractResolver(int maxDepth)
 {
     this._levelHandler = new MaxDepthHandler(maxDepth);
 }
コード例 #2
0
 public CustomDynamicValueProvider(MemberInfo memberInfo, MaxDepthHandler levelHandler) : base(memberInfo)
 {
     _memberInfo   = memberInfo;
     _levelHandler = levelHandler;
 }