public static IXCustomFeatureEditor <TData, TPage> CreateCustomFeatureEditor <TCustomFeatureDef, TData, TPage>( this IXExtension ext, DataConverterDelegate <TPage, TData> pageToDataConv, DataConverterDelegate <TData, TPage> dataToPageConv, CreateGeometryDelegate <TData> geomCreator) where TCustomFeatureDef : class, IXCustomFeatureDefinition <TData>, new() where TData : class, new() where TPage : class, new() { return(ext.CreateCustomFeatureEditor <TData, TPage>(typeof(TCustomFeatureDef), pageToDataConv, dataToPageConv, geomCreator)); }
public static IXCustomFeatureEditor <TData, TData> CreateCustomFeatureEditor <TCustomFeatureDef, TData>( this IXExtension ext, CreateGeometryDelegate <TData> geomCreator) where TCustomFeatureDef : class, IXCustomFeatureDefinition <TData>, new() where TData : class, new() { return(ext.CreateCustomFeatureEditor <TCustomFeatureDef, TData, TData>( d => d, d => d, geomCreator)); }