mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-30 23:51:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			482 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			482 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Esiur.Resource;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| 
 | |
| namespace Test
 | |
| {
 | |
|     [Resource]
 | |
|     public partial class MyChildResource : MyResource
 | |
|     {
 | |
|         [Export] string childName;
 | |
|         [Export("Hell2o")] public int ChildMethod(string childName) => 111;
 | |
|         [Export] public new string Hello() => "Hi from Child";
 | |
| 
 | |
|         [Export] public string HelloChild() => "Hi from Child";
 | |
| 
 | |
|     }
 | |
| }
 |