Table of Contents

Class TypeExtensions

Namespace
IceRpc
Assembly
IceRpc.dll

Provides extension methods for Type.

public static class TypeExtensions
Inheritance
TypeExtensions
Inherited Members

Methods

GetDefaultServicePath(Type)

Retrieves the default service path with the attribute DefaultServicePathAttribute.

public static string GetDefaultServicePath(this Type type)

Parameters

type Type

The type of an interface.

Returns

string

The default service path.

Exceptions

ArgumentException

Thrown if type is not an interface, or if it does not have a DefaultServicePathAttribute attribute.