API version:
Show / Hide Table of Contents

Class AbstractResourceTypeResolver<T>

Resolves a resource type based on the resource data. Base class for all resource type resolvers.

Inheritance
System.Object
AbstractResourceTypeResolver<T>
ApplicationResolver
BrowserPluginApplicationResolver
PolicyResolver
PolicyRuleResolver
UserFactorResolver
Implements
IResourceTypeResolver
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: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public abstract class AbstractResourceTypeResolver<T> : IResourceTypeResolver
Type Parameters
Name Description
T

The base type of resource to resolve.

Methods

GetResolvedType(IDictionary<String, Object>)

Get the resolved resource type given its data.

Declaration
public Type GetResolvedType(IDictionary<string, object> data)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> data

The resource data.

Returns
Type Description
System.Type

The resource type.

GetResolvedTypeInternal(IDictionary<String, Object>)

Gets the type depending on the resource's data.

Declaration
protected abstract Type GetResolvedTypeInternal(IDictionary<string, object> data)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> data

The resource data.

Returns
Type Description
System.Type

The resource type.

Remarks

Implemented by specific resolvers in order to control how certain resources are resolved to their types.

Implements

IResourceTypeResolver
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.