/// <summary> /// Returns the path of <paramref name="child"/> as a subcomponent of <paramref name="parent"/>. /// </summary> internal static string GetSubPath(IComponentDescription parent, IComponentDescription child) { return(parent.Path + Constants.ComponentPathDivider + child.Name); }
public Component(IIdentity identity, IComponentDescription description) { Identity = identity; Description = description; }
public static string[] GetNames(this IComponentDescription component) { return(GetNames(component.Path)); }