/// <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;
        }
Пример #2
0
 public ModelingSessionAction WithSession(ModelingSession session)
 {
     var result = new ModelingSessionAction(session);
     return result;
 }
Пример #3
0
 public ModelingSessionAction WithProfile(IUserProfile profile)
 {
     var result = new ModelingSessionAction(this.context, profile);
     return result;
 }