Show / Hide Table of Contents

Class PropertyFunctionFactory

Factory for creating property functions.

Inheritance
System.Object
PropertyFunctionFactory
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
int

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, 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<T><IPropertyFunctionFactory> localFactories

Locally scoped factories.

Returns
Type Description
System.Boolean
| 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

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<T><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, IEnumerable<IPropertyFunctionFactory>)
    • IsPropertyFunction(Uri)
    • IsRegisteredFactory(Type)
    • IsRegisteredFactory(IPropertyFunctionFactory)
    • RemoveFactory(IPropertyFunctionFactory)
    • TryCreatePropertyFunction(PropertyFunctionInfo, IEnumerable<IPropertyFunctionFactory>, out IPropertyFunctionPattern)
    • TryCreatePropertyFunction(PropertyFunctionInfo, out IPropertyFunctionPattern)
Back to top Generated by DocFX