public void QueryDependents_UnitTest() { ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryDependents_PreCondition(instance, ref queryOptions); }, instance => { instance.QueryDependents(queryOptions); }, instance => { QueryDependents_PostValidate(instance, queryOptions); }); }
public void QueryParents_UnitTest() { IEnumerable <Guid> resourceTypeFilters = default(IEnumerable <Guid>); Boolean recurseToRoot = default(Boolean); ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { resourceTypeFilters = default(IEnumerable <Guid>); //No Type recurseToRoot = default(Boolean); //No Constructor queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryParents_PreCondition(instance, ref resourceTypeFilters, ref recurseToRoot, ref queryOptions); }, instance => { instance.QueryParents(resourceTypeFilters, recurseToRoot, queryOptions); }, instance => { QueryParents_PostValidate(instance, resourceTypeFilters, recurseToRoot, queryOptions); }); }
public void QueryChildren_UnitTest() { IEnumerable <Guid> resourceTypeFilters = default(IEnumerable <Guid>); IEnumerable <KeyValuePair <String, String> > propertyFilters = default(IEnumerable <KeyValuePair <String, String> >); Boolean recurse = default(Boolean); ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { resourceTypeFilters = default(IEnumerable <Guid>); //No Type propertyFilters = default(IEnumerable <KeyValuePair <String, String> >); //No Type recurse = default(Boolean); //No Constructor queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryChildren_PreCondition(instance, ref resourceTypeFilters, ref propertyFilters, ref recurse, ref queryOptions); }, instance => { instance.QueryChildren(resourceTypeFilters, propertyFilters, recurse, queryOptions); }, instance => { QueryChildren_PostValidate(instance, resourceTypeFilters, propertyFilters, recurse, queryOptions); }); }
partial void QueryParents_PreCondition(ICatalogNode instance, ref IEnumerable <Guid> resourceTypeFilters, ref Boolean recurseToRoot, ref ICatalogQueryOptions queryOptions);
partial void QueryParents_PostValidate(ICatalogNode instance, IEnumerable <Guid> resourceTypeFilters, Boolean recurseToRoot, ICatalogQueryOptions queryOptions);
partial void QueryDependents_PreCondition(ICatalogNode instance, ref ICatalogQueryOptions queryOptions);
partial void QueryDependents_PostValidate(ICatalogNode instance, ICatalogQueryOptions queryOptions);
partial void QueryChildren_PreCondition(ICatalogNode instance, ref IEnumerable <Guid> resourceTypeFilters, ref IEnumerable <KeyValuePair <String, String> > propertyFilters, ref Boolean recurse, ref ICatalogQueryOptions queryOptions);
partial void QueryChildren_PostValidate(ICatalogNode instance, IEnumerable <Guid> resourceTypeFilters, IEnumerable <KeyValuePair <String, String> > propertyFilters, Boolean recurse, ICatalogQueryOptions queryOptions);
/// <summary> /// Queries the parents. /// </summary> /// <param name="resourceTypeFilters">The resource type filters.</param> /// <param name="recurseToRoot">The recurse to root.</param> /// <param name="queryOptions">The query options.</param> /// <returns>ReadOnlyCollection<ICatalogNode>.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> ReadOnlyCollection <ICatalogNode> ICatalogNode.QueryParents(IEnumerable <Guid> resourceTypeFilters, Boolean recurseToRoot, ICatalogQueryOptions queryOptions) { throw new ToBeImplementedException(); }
/// <summary> /// Queries the dependents. /// </summary> /// <param name="queryOptions">The query options.</param> /// <returns>ReadOnlyCollection<ICatalogNode>.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> ReadOnlyCollection <ICatalogNode> ICatalogNode.QueryDependents(ICatalogQueryOptions queryOptions) { throw new ToBeImplementedException(); }
/// <summary> /// Queries the children. /// </summary> /// <param name="resourceTypeFilters">The resource type filters.</param> /// <param name="propertyFilters">The property filters.</param> /// <param name="recurse">The recurse.</param> /// <param name="queryOptions">The query options.</param> /// <returns>ReadOnlyCollection<ICatalogNode>.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> ReadOnlyCollection <ICatalogNode> ICatalogNode.QueryChildren(IEnumerable <Guid> resourceTypeFilters, IEnumerable <KeyValuePair <String, String> > propertyFilters, Boolean recurse, ICatalogQueryOptions queryOptions) { throw new ToBeImplementedException(); }
/// <summary> /// Gets the instance. /// </summary> /// <param name="src">The source.</param> /// <returns>CatalogQueryOptions.</returns> public static CatalogQueryOptions GetInstance(ICatalogQueryOptions src) { return(default(CatalogQueryOptions)); }