public bool TrySetEnvironment(IAzureEnvironment environment, out IAzureEnvironment mergedEnvironment) { bool result = Profile.TrySetEnvironment(environment, out mergedEnvironment); IAzureEnvironment other; DefaultProfile.TrySetEnvironment(environment, out other); return(result); }