Show / Hide Table of Contents

Class PropertyFunctionFactory

Factory for creating property functions.
Inheritance
System.Object
PropertyFunctionFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.PropertyFunctions
Assembly: dotNetRDF.dll
Syntax
public static class PropertyFunctionFactory

Properties

| Improve this Doc View Source

FactoryCount

Gets the number of globally registered factories.
Declaration
public static int FactoryCount { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AddFactory(IPropertyFunctionFactory)

Adds a globally registered factory.
Declaration
public static void AddFactory(IPropertyFunctionFactory factory)
Parameters
Type Name Description
IPropertyFunctionFactory factory Factory.
| Improve this Doc View Source

IsPropertyFunction(Uri)

Gets whether a URI is considered a property function by the global factories.
Declaration
public static bool IsPropertyFunction(Uri u)
Parameters
Type Name Description
System.Uri u Function URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsPropertyFunction(Uri, IEnumerable<IPropertyFunctionFactory>)

Gets whether a URI is considered a property function by any global/local factory.
Declaration
public static bool IsPropertyFunction(Uri u, IEnumerable<IPropertyFunctionFactory> localFactories)
Parameters
Type Name Description
System.Uri u Function URI.
System.Collections.Generic.IEnumerable<IPropertyFunctionFactory> localFactories Locally scoped factories.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsRegisteredFactory(Type)

Gets whether a factory is registered.
Declaration
public static bool IsRegisteredFactory(Type factoryType)
Parameters
Type Name Description
System.Type factoryType Factory Type.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsRegisteredFactory(IPropertyFunctionFactory)

Gets whether a factory is registered.
Declaration
public static bool IsRegisteredFactory(IPropertyFunctionFactory factory)
Parameters
Type Name Description
IPropertyFunctionFactory factory Factory.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

RemoveFactory(IPropertyFunctionFactory)

Removes a globally registered factory.
Declaration
public static void RemoveFactory(IPropertyFunctionFactory factory)
Parameters
Type Name Description
IPropertyFunctionFactory factory Factory.
| Improve this Doc View Source

TryCreatePropertyFunction(PropertyFunctionInfo, IEnumerable<IPropertyFunctionFactory>, out IPropertyFunctionPattern)

Tries to create a property function.
Declaration
public static bool TryCreatePropertyFunction(PropertyFunctionInfo info, IEnumerable<IPropertyFunctionFactory> localFactories, out IPropertyFunctionPattern function)
Parameters
Type Name Description
PropertyFunctionInfo info Property Function information.
System.Collections.Generic.IEnumerable<IPropertyFunctionFactory> localFactories Locally Scoped factories.
IPropertyFunctionPattern function Property Function.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryCreatePropertyFunction(PropertyFunctionInfo, out IPropertyFunctionPattern)

Tries to create a property function.
Declaration
public static bool TryCreatePropertyFunction(PropertyFunctionInfo info, out IPropertyFunctionPattern function)
Parameters
Type Name Description
PropertyFunctionInfo info Property Function information.
IPropertyFunctionPattern function Property Function.
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • FactoryCount
  • Methods
    • AddFactory(IPropertyFunctionFactory)
    • IsPropertyFunction(Uri)
    • IsPropertyFunction(Uri, IEnumerable<IPropertyFunctionFactory>)
    • IsRegisteredFactory(Type)
    • IsRegisteredFactory(IPropertyFunctionFactory)
    • RemoveFactory(IPropertyFunctionFactory)
    • TryCreatePropertyFunction(PropertyFunctionInfo, IEnumerable<IPropertyFunctionFactory>, out IPropertyFunctionPattern)
    • TryCreatePropertyFunction(PropertyFunctionInfo, out IPropertyFunctionPattern)
Back to top Generated by DocFX