protected override bool CanHandle(ITypeDescriptor descriptor,
                                   CSharpSyntaxGeneratorSettings settings)
 {
     return(descriptor.Kind == TypeKind.Entity && !descriptor.IsInterface() &&
            !settings.NoStore);
 }
 protected override bool CanHandle(ITypeDescriptor descriptor,
                                   CSharpSyntaxGeneratorSettings settings)
 {
     return(descriptor.Kind == TypeKind.ResultType && !descriptor.IsInterface());
 }
Exemple #3
0
 protected override bool CanHandle(ITypeDescriptor descriptor)
 {
     return(descriptor.Kind == TypeKind.ResultType && !descriptor.IsInterface());
 }