public static global::Microsoft.Practices.ServiceFactory.HostDesigner.ServiceDescription GetParentForEndpoint(global::Microsoft.Practices.ServiceFactory.HostDesigner.Endpoint root) { // Segments 0 and 1 global::Microsoft.Practices.ServiceFactory.HostDesigner.ServiceDescription result = root.ServiceDescription; if (result == null) { return(null); } return(result); }
public static global::Microsoft.Practices.ServiceFactory.HostDesigner.HostDesignerModel GetParentForServiceDescription(global::Microsoft.Practices.ServiceFactory.HostDesigner.ServiceDescription root) { // Segments 0 and 1 global::Microsoft.Practices.ServiceFactory.HostDesigner.HostApplication root2 = root.HostApplication; if (root2 == null) { return(null); } // Segments 2 and 3 global::Microsoft.Practices.ServiceFactory.HostDesigner.HostDesignerModel result = root2.HostDesignerModel; if (result == null) { return(null); } return(result); }