vault backup: 2025-06-23 00:01:29
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DIP_Solution05.LifeCycle
|
||||
{
|
||||
public class A
|
||||
{
|
||||
#region [ - Ctor - ]
|
||||
|
||||
#region [ - A(Framework.Interface.IService ref_IService) - ]
|
||||
// Eager Aggregation
|
||||
public A(Framework.Interface.IService ref_IService)
|
||||
{
|
||||
Ref_IService = ref_IService;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region [ - A() - ]
|
||||
public A()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region [ - Prop - ]
|
||||
public Framework.Interface.IService Ref_IService { get; set; }
|
||||
#endregion
|
||||
|
||||
#region [ - Method - ]
|
||||
|
||||
#region [ - InitializeIServiceRefrence(Framework.Interface.IService ref_IService) - ]
|
||||
// Lazy Aggregation
|
||||
public void InitializeIServiceRefrence(Framework.Interface.IService ref_IService)
|
||||
{
|
||||
Ref_IService = ref_IService;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user