public TypeExclusions Add(TypeExclusions additionalExclusions) { this.Exclude = additionalExclusions.Exclude; this.DoNotFollow = additionalExclusions.DoNotFollow; return(this); }
protected TypeExclusionsClientBase(TypeExclusions typeExclusions) { if (typeExclusions == null) { throw new ArgumentNullException("typeExclusions"); } this._typeExclusions.Add(typeExclusions); }
public EnumerableGetSubGraph(IGetObjectGraph getObjectGraph, TypeExclusions typeExclusions) : base(typeExclusions) { if (getObjectGraph == null) { throw new ArgumentNullException("getObjectGraph"); } this._getObjectGraph = getObjectGraph; }
public static IGetObjectGraph BuildGetObjectGraph(TypeExclusions typeExclusions, ITypeFieldExclusion typeFieldExclusion) { LazyGetObjectGraph getObjectGraph = new LazyGetObjectGraph(); IGetSubGraph getSubGraph = new CompositeGetSubGraph(new List <IGetSubGraph>() { new EnumerableGetSubGraph(getObjectGraph, typeExclusions), new DefaultGetSubGraph(getObjectGraph, new DefaultGetObjectFields( new FilteringGetTypeFields( new DefaultGetTypeFields(), typeFieldExclusion)), typeExclusions) }); getObjectGraph.GetObjectGraph = new DefaultGetObjectGraph(getSubGraph, typeExclusions); return(getObjectGraph); }
public DefaultGraphologistComponents(TypeExclusions typeExclusions) : base(new DefaultGraphTraversal(typeExclusions), new DefaultGraphVisualization()) { }
public DefaultGraphTraversal(TypeExclusions typeExclusions, ITypeFieldExclusion typeFieldExclusion) : base(BuildGetObjectGraph(typeExclusions, typeFieldExclusion)) { }
public DefaultGraphTraversal(TypeExclusions typeExclusions) : this(typeExclusions, DefaultTypeFieldExclusion) { }
public TypeExclusions Add(TypeExclusions additionalExclusions) { this.Exclude = additionalExclusions.Exclude; this.DoNotFollow = additionalExclusions.DoNotFollow; return this; }
public EnumerableGetSubGraph(IGetObjectGraph getObjectGraph, TypeExclusions typeExclusions) : base(typeExclusions) { if (getObjectGraph == null) throw new ArgumentNullException("getObjectGraph"); this._getObjectGraph = getObjectGraph; }
public static IGetObjectGraph BuildGetObjectGraph(TypeExclusions typeExclusions, ITypeFieldExclusion typeFieldExclusion) { LazyGetObjectGraph getObjectGraph = new LazyGetObjectGraph(); IGetSubGraph getSubGraph = new CompositeGetSubGraph(new List<IGetSubGraph>() { new EnumerableGetSubGraph(getObjectGraph, typeExclusions), new DefaultGetSubGraph(getObjectGraph, new DefaultGetObjectFields( new FilteringGetTypeFields( new DefaultGetTypeFields(), typeFieldExclusion)), typeExclusions) }); getObjectGraph.GetObjectGraph = new DefaultGetObjectGraph(getSubGraph, typeExclusions); return getObjectGraph; }
public DefaultGetSubGraph(IGetObjectGraph getObjectGraph, IGetObjectFields getObjectFields, TypeExclusions typeExclusions) : base(typeExclusions) { if (getObjectGraph == null) throw new ArgumentNullException("getObjectGraph"); if (getObjectFields == null) throw new ArgumentNullException("getObjectFields"); this._getObjectGraph = getObjectGraph; this._getObjectFields = getObjectFields; }
protected TypeExclusionsClientBase(TypeExclusions typeExclusions) { if (typeExclusions == null) throw new ArgumentNullException("typeExclusions"); this._typeExclusions.Add(typeExclusions); }
public Graphologist(TypeExclusions typeExclusions) : this(new DefaultGraphologistComponents(typeExclusions)) { }
public DefaultGetSubGraph(IGetObjectGraph getObjectGraph, IGetObjectFields getObjectFields, TypeExclusions typeExclusions) : base(typeExclusions) { if (getObjectGraph == null) { throw new ArgumentNullException("getObjectGraph"); } if (getObjectFields == null) { throw new ArgumentNullException("getObjectFields"); } this._getObjectGraph = getObjectGraph; this._getObjectFields = getObjectFields; }