Table of Contents

Method GetMaskedTicketFieldResolvers

Namespace
Skyline.DataMiner.Net.Ticketing
Assembly
SLNetTypes.dll

GetMaskedTicketFieldResolvers(params TicketFieldResolver[])

Retrieves the masked resolvers corresponding to one or more filters.

public IEnumerable<TicketFieldResolver> GetMaskedTicketFieldResolvers(params TicketFieldResolver[] filters)

Parameters

filters TicketFieldResolver[]

A collection of filters. Each filter will be processed separately and the results will be added to the final response.

Returns

IEnumerable<TicketFieldResolver>

The requested ticket field resolvers.

Examples

If the following is specified within a script, any resolvers that are masked will be retrieved and an information event will be generated with information about them:

private void ShowMaskedResolvers(Engine engine)
{
	var maskedTicketFieldResolvers = helper.GetMaskedTicketFieldResolvers();
	foreach (TicketFieldResolver maskedTicketFieldResolver in maskedTicketFieldResolvers)
	{
		engine.GenerateInformation(string.Format("Resolver \"{0}\", which is configured to be linked to \"{1}\", is masked.", maskedTicketFieldResolver.Name, maskedTicketFieldResolver.ElementUsingResolver.ToString()));
	}
}