RemAdminGetMethod Method |
Namespace: Paperwork.Connect
public a_Method GetMethod( ObjectName methodName )
public void GetMethod()
{
bool activeOnly = false;
string methodType = string.Empty;
ObservableCollection<LookupItem> getmethodlist = p.rLookup.GetMethodList(activeOnly, methodType);
foreach (LookupItem method in getmethodlist)
{
if (method.Name == "Sözleşme Bitişi Kontrolü")
{
ObjectName name = new ObjectName(method.Name);
a_Method met = p.rAdmin.GetMethod(name);
Console.WriteLine("Method Adı: {0}", met.MethodName);
}
}
}