Exemple #1
0
        /// <summary>
        /// Gets the profile behavior tree
        /// </summary>
        /// <param name="profile"></param>
        /// <returns></returns>
        public IEnumerable <Composite> GetProfileBehavior(NeoProfile profile)
        {
            var body = profile.GetPrivateField <List <ProfileBehavior> >("Order");

            return(this.GetProfileBehaviorCollectionBehavior(body));
        }
Exemple #2
0
 /// <summary>
 /// Returns the body of an order profile
 /// </summary>
 /// <param name="profile"></param>
 /// <returns></returns>
 public static List <ProfileBehavior> GetOrderBody(this NeoProfile profile)
 {
     return(profile.GetPrivateField <List <ProfileBehavior> >("Order"));
 }
        /// <summary>
        /// Gets the profile behavior tree
        /// </summary>
        /// <param name="profile"></param>
        /// <returns></returns>
        public IEnumerable<Composite> GetProfileBehavior(NeoProfile profile)
        {
            var body = profile.GetPrivateField<List<ProfileBehavior>>("Order");

            return this.GetProfileBehaviorCollectionBehavior(body);
        }