Ejemplo n.º 1
0
 private static DataTransferResource GetLoader()
 {
     if (loader == null)
     {
         var sr = new DataTransferResource();
         Interlocked.CompareExchange(ref loader, sr, null);
     }
     return(loader);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     A string like "The transfer for invariant name '{0}' is specified multiple times in the application configuration. The invariant name must be unique for each configured provider."
 /// </summary>
 internal static string TransferInvariantRepeatedInConfig(object p0)
 {
     return(DataTransferResource.GetString(DataTransferResource.TransferInvariantRepeatedInConfig, p0));
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     A string like "Configuration '{0}' not found."
 /// </summary>
 internal static string ConfigurationNotFound(object p0)
 {
     return(DataTransferResource.GetString(DataTransferResource.ConfigurationNotFound, p0));
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     A string like "The '{0}' cannot be null."
 /// </summary>
 internal static string ArgumentNullExceptionMessage(object p0)
 {
     return(DataTransferResource.GetString(DataTransferResource.ArgumentNullExceptionMessage, p0));
 }
Ejemplo n.º 5
0
 /// <summary>
 ///     A string like "The parameter '{0}' not accepts extension."
 /// </summary>
 internal static string ArgumentNotAcceptsExtensionMessage(object p0)
 {
     return(DataTransferResource.GetString(DataTransferResource.ArgumentNotAcceptsExtensionMessage, p0));
 }