public GetAssociatedBehavior ( IBehavior behavior ) : IBehavior | ||
behavior | IBehavior | |
return | IBehavior |
public IBehavior GetAssociatedBehavior(IBehavior behavior)
{
if (behavior is IMetaClass)
return this.GetAssociatedMetaClass((IMetaClass)behavior);
return this.GetAssociatedClass((IClass)behavior);
}