The ServiceResolver type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ServiceResolver |
Creates new instance of ServiceResolver.
|
Methods
Name | Description | |
---|---|---|
AddAnonymousSourceData |
Adds new anonymous data source of general type to the resolver.
(Inherited from MacroResolver.) | |
AddSourceAlias |
Adds alternative source expression.
(Inherited from MacroResolver.) | |
Clone |
Clones the resolver object.
(Inherited from MacroResolver.) | |
CreateChild |
Creates the child resolver that loads the data from the parent resolver by default.
(Inherited from MacroResolver.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FinalizeResult |
Finalizes the result (makes the result string).
(Inherited from MacroResolver.) | |
GetAnonymousSources |
Returns list of all aggregated anonymous sources (from the whole resolver hierarchy).
(Inherited from MacroResolver.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetHiddenRegisteredDataNames |
Returns set of registered hidden named data sources (including all hidden named data sources registered in the parent(s) of the resolver, it's an union of keys through the whole hierarchy).
Includes only hidden sources (which are tracked only in DevelopmentMode)
(Inherited from MacroResolver.) | |
GetNamedSourceData |
Gets the named source data by the given selector.
(Inherited from MacroResolver.) | |
GetObjectValue(Object, Int32, EvaluationContext) |
Gets the object value at given index (this is called when indexer [(int)] is used in the expression).
(Inherited from MacroResolver.) | |
GetObjectValue(Object, String, EvaluationContext) |
Gets the object value of specified name.
(Inherited from MacroResolver.) | |
GetPrioritizedDataNames |
Returns set of prioritized named data sources (including all prioritized named data sources registered in the parent(s) of the resolver, it's an union of keys through the whole hierarchy).
DOES NOT include non-prioritized keys (call GetRegisteredDataNames to get those).
(Inherited from MacroResolver.) | |
GetRegisteredDataNames |
Returns set of registered named data sources (including all named data sources registered in the parent(s) of the resolver, it's an union of keys through the whole hierarchy).
DOES NOT include prioritized keys (call GetPrioritizedDataNames to get those).
(Inherited from MacroResolver.) | |
GetSourceAlias |
Gets the named source data by the given selector.
(Inherited from MacroResolver.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
CheckDataSources |
Checks all the data sources for the value (at first, it checks if it's not special value).
(Overrides MacroResolver CheckDataSources(String, EvaluationContext).) | |
CheckObjectPermissions |
Checks whether given user has Read permissions for given object type.
(Inherited from MacroResolver.) | |
IsDataItemAvailable |
Checks all the data sources for the value and returns true if the data item is registered.
(Inherited from MacroResolver.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NamedSourceDataExists |
Returns true if given source data is known (can be null, but the property has to be registered).
(Inherited from MacroResolver.) | |
PostProcessResult |
If the object is InfoObject, returns its DisplayName column (if exists).
(Inherited from MacroResolver.) | |
PrioritizeProperty |
Prioritizes a property (equivalent to using SetNamedSourceData with last parameter true).
(Inherited from MacroResolver.) | |
ResolveCustomMacro |
Resolves the custom macro.
(Inherited from MacroResolver.) | |
ResolveMacroExpression(ResolveExpressionSettings) |
Resolves the data macro expression (expects expression without {% %} brackets).
(Inherited from MacroResolver.) | |
ResolveMacroExpression(String, Boolean, Boolean, String) |
Resolves the data macro expression (expects expression without {% %} brackets).
(Inherited from MacroResolver.) | |
ResolveMacros(String) |
Resolves the macros.
(Inherited from MacroResolver.) | |
ResolveMacros(String, MacroSettings) |
Resolves all supported macro types in the given text within specified resolving context.
(Inherited from MacroResolver.) | |
ResolvePath |
Resolves the path macro.
(Inherited from MacroResolver.) | |
SetAnonymousSourceData |
Sets specified data source (without name) of general type to the resolver. Replaces all the existing anonymous sources.
(Inherited from MacroResolver.) | |
SetHiddenNamedSourceData(String, Func EvaluationContext, Object ) |
Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.
(Inherited from MacroResolver.) | |
SetHiddenNamedSourceData(String, Object) |
Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.
(Inherited from MacroResolver.) | |
SetNamedObjectSourceData |
Registers the named object source data. Nice name of the object is used as a selector.
It's an abbreviation of calling SetNamedSourceData(infoObj.Generalized.GetNiceName(), infoObj).
(Inherited from MacroResolver.) | |
SetNamedSourceData( Hashtable ) |
Sets hashtable data source to the resolver. Keys of the table are considered names of the data.
(Inherited from MacroResolver.) | |
SetNamedSourceData( Object , Boolean) |
Sets given name-value pairs to the resolver.
(Inherited from MacroResolver.) | |
SetNamedSourceData(MacroField, Boolean) |
Registers given field as the named source data.
(Inherited from MacroResolver.) | |
SetNamedSourceData(String, Object, Boolean) |
Registers the named source data. The data can be accessed with macro {%Selector.ColumnName%}. Selector has to be in identifier format.
(Inherited from MacroResolver.) | |
SetNamedSourceDataCallback |
Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.
(Inherited from MacroResolver.) | |
SetNamedSourceDataInternal |
Registers the named source data. The data can be accessed with macro {%Selector.ColumnName%}. Selector has to be in identifier format.
(Inherited from MacroResolver.) | |
SkippedResolver |
Returns true if the macro processing skipped particular resolver name
(Inherited from MacroResolver.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
mActiveMacros |
Current stack of active macros (macros that are just being resolved).
(Inherited from MacroResolver.) | |
mCurrentRecursion |
Recursion handling.
(Inherited from MacroResolver.) | |
mParentResolver |
Parent resolver is used to look for the data if it's not explicitly defined in current resolver
All the data available in the parent are available also in children (could be overriden, though)
(Inherited from MacroResolver.) | |
mResolverName |
Macro resolver name.
(Inherited from MacroResolver.) | |
mSettings |
Macro context.
(Inherited from MacroResolver.) | |
mSkippedResolvers |
Returns the list of resolvers that were skipped during the processing of the macros with this resolver.
(Inherited from MacroResolver.) |
Properties
Name | Description | |
---|---|---|
Culture |
Culture for the resolving
(Inherited from MacroResolver.) | |
ResolverName |
Name of the resolver.
(Inherited from MacroResolver.) | |
Settings |
Macro context (settings)
(Inherited from MacroResolver.) | |
ShowOnlyPrioritized |
If true, only prioritized properties are shown in Macro components (IntelliSense, MacroSelector, ...).
Influences only visual part of the components, resolver will still be able to resolve all the others as well.
(Inherited from MacroResolver.) | |
SourceObject |
Object with source data - To pass parameters to Custom macro function.
(Inherited from MacroResolver.) |
Events
Name | Description | |
---|---|---|
OnGetValue |
Gets value event.
(Inherited from MacroResolver.) |
See Also