A class model represents the model of a Ceylon class that you can instantiate and inspect.

A member class is is declared on classes or interfaces.

This is both a ClassModel and a Member: you can invoke it with an instance value to bind it to that instance and obtain a Class:

shared class Outer(String name){
    shared class Inner(){
        shared String hello => "Hello "+name;
    }
}

void test(){
    MemberClass<Outer,Outer.Inner,[]> memberClass = `Outer.Inner`;
    Class<Outer.Inner,[]> c = memberClass(Outer("Stef"));
    // This will print: Hello Stef
    print(c().hello);
}
Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: ClassModel<Type,Arguments>
Attributes inherited from: ClassOrInterface<Type>
Attributes inherited from: Generic
Attributes inherited from: Member<Container,Kind>
Attributes inherited from: Model
Methods
bindSource Code
shared formal Class<Type,Arguments> bind(Object container)

Type-unsafe container binding, to be used when the container type is unknown until runtime.

This has the same behaviour as invoking this Member directly, but exchanges compile-time type safety with runtime checks.

Refined declaration: bind
Inherited Methods
Methods inherited from: Object
Methods inherited from: ClassOrInterface<Type>
Methods inherited from: Member<Container,Kind>
Methods inherited from: Type<Type>