mirror of
https://github.com/farcasclaudiu/design_pattens.git
synced 2026-06-29 05:01:44 +03:00
WIP more creational patterns
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace design_patterns.creational.prototype
|
||||
{
|
||||
/// <summary>
|
||||
/// Prototype is a creational design pattern that
|
||||
/// lets you copy (clone, deep copy) existing objects without making
|
||||
/// your code dependent on their classes.
|
||||
/// </summary>
|
||||
public class PrototypeSample
|
||||
{
|
||||
public static async Task Run()
|
||||
{
|
||||
Console.WriteLine("Creational - Prototype");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user