a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
347 B
C#
18 lines
347 B
C#
public class RuleBuilder<T> where T : class {}
|
|
|
|
public interface IDynamicObject {
|
|
RuleBuilder<T> GetRule<T>() where T : class;
|
|
}
|
|
|
|
public class RubyMethod : IDynamicObject {
|
|
RuleBuilder<T> IDynamicObject.GetRule<T>() /* where T : class */ {
|
|
return new RuleBuilder<T>();
|
|
}
|
|
}
|
|
|
|
public class T {
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|