@@ -29,8 +29,8 @@ public static void ProcessAssemblies(
29
29
List < MethodInfo > methods ,
30
30
List < ExtendedRegistration . ExcelParameterConversion > excelParameterConversions ,
31
31
List < ExtendedRegistration . ExcelFunctionProcessor > excelFunctionProcessors ,
32
- List < ExtendedRegistration . ExcelFunction > excelFunctionsExtendedRegistration ,
33
- List < FunctionExecutionHandlerSelector > excelFunctionExecutionHandlerSelectors ,
32
+ List < Registration . ExcelFunctionRegistration > excelFunctionsExtendedRegistration ,
33
+ List < Registration . FunctionExecutionHandlerSelector > excelFunctionExecutionHandlerSelectors ,
34
34
List < ExcelAddInInfo > addIns ,
35
35
List < Type > rtdServerTypes ,
36
36
List < ExcelComClassType > comClassTypes )
@@ -139,7 +139,7 @@ static void GetExcelFunctionProcessors(Type t, List<ExtendedRegistration.ExcelFu
139
139
}
140
140
}
141
141
142
- static void GetExcelMethods ( Type t , bool explicitExports , List < MethodInfo > excelMethods , List < ExtendedRegistration . ExcelFunction > excelFunctionsExtendedRegistration )
142
+ static void GetExcelMethods ( Type t , bool explicitExports , List < MethodInfo > excelMethods , List < Registration . ExcelFunctionRegistration > excelFunctionsExtendedRegistration )
143
143
{
144
144
// DOCUMENT: Exclude if not a class, not public, /*abstract,*/ an array,
145
145
// open generic type or in "My" namespace.
@@ -163,7 +163,7 @@ static void GetExcelMethods(Type t, bool explicitExports, List<MethodInfo> excel
163
163
164
164
if ( ! isSupported && IsMethodMarkedForExport ( mi ) )
165
165
{
166
- excelFunctionsExtendedRegistration . Add ( new ExtendedRegistration . ExcelFunction ( mi ) ) ;
166
+ excelFunctionsExtendedRegistration . Add ( new Registration . ExcelFunctionRegistration ( mi ) ) ;
167
167
}
168
168
else if ( ! isSupported )
169
169
{
@@ -176,13 +176,13 @@ static void GetExcelMethods(Type t, bool explicitExports, List<MethodInfo> excel
176
176
}
177
177
}
178
178
179
- static void GetExcelFunctionExecutionHandlerSelectors ( Type type , List < FunctionExecutionHandlerSelector > excelFunctionExecutionHandlerSelectors )
179
+ static void GetExcelFunctionExecutionHandlerSelectors ( Type type , List < Registration . FunctionExecutionHandlerSelector > excelFunctionExecutionHandlerSelectors )
180
180
{
181
181
MethodInfo [ ] mis = type . GetMethods ( BindingFlags . Public | BindingFlags . Static ) ;
182
182
foreach ( MethodInfo mi in mis )
183
183
{
184
184
if ( IsExcelFunctionExecutionHandlerSelector ( mi ) )
185
- excelFunctionExecutionHandlerSelectors . Add ( ( IExcelFunctionInfo functionInfo ) => ( IFunctionExecutionHandler ) mi . Invoke ( null , new object [ ] { functionInfo } ) ) ;
185
+ excelFunctionExecutionHandlerSelectors . Add ( ( IExcelFunctionInfo functionInfo ) => ( Registration . IFunctionExecutionHandler ) mi . Invoke ( null , new object [ ] { functionInfo } ) ) ;
186
186
}
187
187
}
188
188
@@ -201,7 +201,7 @@ static bool IsMethodSupported(MethodInfo mi, bool explicitExports)
201
201
{
202
202
isSupported = false ;
203
203
}
204
- else if ( ObjectHandles . ObjectHandleRegistration . IsMethodSupported ( new ExtendedRegistration . ExcelFunction ( mi ) ) )
204
+ else if ( ObjectHandles . ObjectHandleRegistration . IsMethodSupported ( new ExcelDna . Registration . ExcelFunctionRegistration ( mi ) ) )
205
205
{
206
206
isSupported = false ;
207
207
}
@@ -213,7 +213,7 @@ static bool IsMethodSupported(MethodInfo mi, bool explicitExports)
213
213
{
214
214
isSupported = false ;
215
215
}
216
- else if ( ExtendedRegistration . ParamsRegistration . IsParamsMethod ( new ExtendedRegistration . ExcelFunction ( mi ) ) )
216
+ else if ( ExcelDna . Registration . ParamsRegistration . IsParamsMethod ( new ExcelDna . Registration . ExcelFunctionRegistration ( mi ) ) )
217
217
{
218
218
isSupported = false ;
219
219
}
0 commit comments