DataServiceProvider.DSPMetadata.TryResolveResourceSet C# (CSharp) Method

TryResolveResourceSet() public method

Returnes a resource set specified by its name.
The implementation of this method should be very fast as it will get called for almost every request. It should also be fast for non-existing resource sets to avoid possible DoS attacks on the service.
public TryResolveResourceSet ( string name, System.Data.Services.Providers.ResourceSet &resourceSet ) : bool
name string The name of the resource set find.
resourceSet System.Data.Services.Providers.ResourceSet The resource set instance found.
return bool
        public bool TryResolveResourceSet(string name, out ResourceSet resourceSet)
        {
            return this.resourceSets.TryGetValue(name, out resourceSet); ;
        }