Class NameValueProvider
Provides access to static, preconfigured instances of INameValueProvider
Inheritance
System.Object
NameValueProvider
Implements
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: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll
Syntax
public class NameValueProvider : INameValueProvider
Properties
Empty
An empty INameValueProvider
Declaration
public static INameValueProvider Empty { get; }
Property Value
Type | Description |
---|---|
INameValueProvider |
Methods
GetNamedValue(String)
Implementation of the GetNamedValue function. In this case (Empty provider) it always return null.
Declaration
public object GetNamedValue(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Object |
GetNamedValue(String, String)
Declaration
public object GetNamedValue(string key, string worksheet)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.String | worksheet |
Returns
Type | Description |
---|---|
System.Object |
IsNamedValue(String, String)
Implementation of the IsNamedValue function. In this case (Empty provider) it always return false.
Declaration
public bool IsNamedValue(string key, string worksheet)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.String | worksheet |
Returns
Type | Description |
---|---|
System.Boolean |
Reload()
Implementation of the Reload function
Declaration
public void Reload()