Exemple #1
0
 public WindowComponent Load(MonoResource resource)
 {
     this.activatorInstance.SetComponent(resource);
     return(this.activatorInstance.Create(this.GetWindow(), this as WindowLayoutElement) as WindowComponent);
 }
Exemple #2
0
 public T Load <T>(MonoResource resource) where T : WindowComponent
 {
     return(this.Load(resource) as T);
 }