public static PropertyContextFacade GetPropertyByName(this IFrameworkFacade frameworkFacade, string domainType, string instanceId, string propertyName, ArgumentsContextFacade argsContext) { var link = frameworkFacade.OidTranslator.GetOidTranslation(domainType, instanceId); var obj = frameworkFacade.GetObject(link); return(frameworkFacade.GetPropertyWithCompletions(obj.Target, propertyName, argsContext)); }
public static PropertyContextFacade GetTransientPropertyByName(this IFrameworkFacade frameworkFacade, string domainType, string propertyName, ArgumentsContextFacade persistArgs, ArgumentsContextFacade promptArgs) { var obj = frameworkFacade.GetTransient(domainType, persistArgs); return(frameworkFacade.GetPropertyWithCompletions(obj.Target, propertyName, promptArgs)); }