Esempio n. 1
0
        /// <summary>
        /// ターゲットの <see cref="LifeCycleLog"/> を作成し、管理対象とする
        /// </summary>
        public LifeCycleLog CreateLifeCycleLog(object target, Guid guid)
        {
            var log = new LifeCycleLog(target, guid);

            LifeCycleLogs.Add(log);
            return(log);
        }
 public Model()
 {
     OwnLifeCycleLog = LifeCycleLogStore.Instance.CreateLifeCycleLog(this, OwnLifeCycleLogGuid = Guid.NewGuid());
 }