/// <summary> /// finds the code set service context among the collection of received service contexts. /// </summary> internal static CodeSetServiceContext FindCodeSetServiceContext(omg.org.IOP.ServiceContextList contexts) { if (contexts.ContainsServiceContext(SERVICE_ID)) { omg.org.IOP.ServiceContext context = contexts.GetServiceContext(SERVICE_ID); return new CodeSetServiceContext(context); } else { return null; } }