/// <summary> /// Withes the profile. /// </summary> /// <param name="profileCreator">The profile creator.</param> /// <returns></returns> public ModelingSessionAction WithProfile(Func<ProfileCreator, ProfileCreator> profileCreator) { var creator = profileCreator(new ProfileCreator()); var result = new ModelingSessionAction(this.context, creator.Profile); return result; }
public ModelingSessionAction WithSession(ModelingSession session) { var result = new ModelingSessionAction(session); return result; }
public ModelingSessionAction WithProfile(IUserProfile profile) { var result = new ModelingSessionAction(this.context, profile); return result; }