Пример #1
0
        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); });
        }
Пример #2
0
        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); });
        }
Пример #3
0
        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); });
        }
Пример #4
0
 partial void QueryParents_PreCondition(ICatalogNode instance, ref IEnumerable <Guid> resourceTypeFilters, ref Boolean recurseToRoot, ref ICatalogQueryOptions queryOptions);
Пример #5
0
 partial void QueryParents_PostValidate(ICatalogNode instance, IEnumerable <Guid> resourceTypeFilters, Boolean recurseToRoot, ICatalogQueryOptions queryOptions);
Пример #6
0
 partial void QueryDependents_PreCondition(ICatalogNode instance, ref ICatalogQueryOptions queryOptions);
Пример #7
0
 partial void QueryDependents_PostValidate(ICatalogNode instance, ICatalogQueryOptions queryOptions);
Пример #8
0
 partial void QueryChildren_PreCondition(ICatalogNode instance, ref IEnumerable <Guid> resourceTypeFilters, ref IEnumerable <KeyValuePair <String, String> > propertyFilters, ref Boolean recurse, ref ICatalogQueryOptions queryOptions);
Пример #9
0
 partial void QueryChildren_PostValidate(ICatalogNode instance, IEnumerable <Guid> resourceTypeFilters, IEnumerable <KeyValuePair <String, String> > propertyFilters, Boolean recurse, ICatalogQueryOptions queryOptions);
Пример #10
0
 /// <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&lt;ICatalogNode&gt;.</returns>
 /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception>
 ReadOnlyCollection <ICatalogNode> ICatalogNode.QueryParents(IEnumerable <Guid> resourceTypeFilters, Boolean recurseToRoot, ICatalogQueryOptions queryOptions)
 {
     throw new ToBeImplementedException();
 }
Пример #11
0
 /// <summary>
 ///     Queries the dependents.
 /// </summary>
 /// <param name="queryOptions">The query options.</param>
 /// <returns>ReadOnlyCollection&lt;ICatalogNode&gt;.</returns>
 /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception>
 ReadOnlyCollection <ICatalogNode> ICatalogNode.QueryDependents(ICatalogQueryOptions queryOptions)
 {
     throw new ToBeImplementedException();
 }
Пример #12
0
 /// <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&lt;ICatalogNode&gt;.</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();
 }
Пример #13
0
 /// <summary>
 /// Gets the instance.
 /// </summary>
 /// <param name="src">The source.</param>
 /// <returns>CatalogQueryOptions.</returns>
 public static CatalogQueryOptions GetInstance(ICatalogQueryOptions src)
 {
     return(default(CatalogQueryOptions));
 }