We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shashankss1205/CodeGraphContext'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
LegacyService.cs•767 B
using System;
using Example.App.Attributes;
namespace Example.App.Services
{
/// <summary>
/// Service demonstrating use of custom attributes
/// </summary>
public class LegacyService
{
[Deprecated("This method is deprecated. Use NewMethod instead.", AlternativeMethod = "NewMethod")]
public void OldMethod()
{
Console.WriteLine("This is the old method");
}
[Log("Info")]
public void NewMethod()
{
Console.WriteLine("This is the new method");
}
[Log("Debug")]
[Log("Trace")]
public void MethodWithMultipleAttributes()
{
Console.WriteLine("Method with multiple log attributes");
}
}
}