public static void ExternalResourceResetState(ExternalExpensiveResource resource)
 {
     // External Resource reset state code
 }
 public static void ExternalResourceReleaseResource(ExternalExpensiveResource resource)
 {
     // External Resource release code
 }