PathHelper Class

Definition

Provides paths for user secrets configuration files.

public ref class PathHelper
public class PathHelper
type PathHelper = class
Public Class PathHelper
Inheritance
PathHelper

Constructors

PathHelper()

Initializes a new instance of PathHelper.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSecretsPath(IFileProvider)
Obsolete.

This method is obsolete and will be removed in a future version. The recommended alternative is GetSecretsPathFromSecretsId(String).

Gets the path to the secrets file. If a directory is given, finds the user secrets id in the JSON named 'project.json'.

GetSecretsPath(String)
Obsolete.

This method is obsolete and will be removed in a future version. The recommended alternative is GetSecretsPathFromSecretsId(String).

Gets the path to the secrets file. If a directory is given, finds the user secrets id in the JSON named 'project.json'.

GetSecretsPathFromSecretsId(String)

Returns the path to the JSON file that stores user secrets.

This uses the current user profile to locate the secrets file on disk in a location outside of source control.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to