public Default2DRenderUtilities(
     IStringSanitizer stringSanitizer,
     IInterlacedBatchingDepthProvider interlacedBatchingDepthProvider)
 {
     _stringSanitizer = stringSanitizer;
     _interlacedBatchingDepthProvider = interlacedBatchingDepthProvider;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Default2DRenderUtilities"/> class.
 /// </summary>
 /// <param name="stringSanitizer">
 /// The dependency injected <see cref="IStringSanitizer"/> instance.
 /// </param>
 public Default2DRenderUtilities(
     IStringSanitizer stringSanitizer,
     IAssetManagerProvider assetManagerProvider)
 {
     this.m_StringSanitizer = stringSanitizer;
     this.m_ColorEffect = assetManagerProvider.GetAssetManager().Get<EffectAsset>("effect.Color").Effect;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Default2DRenderUtilities"/> class.
 /// </summary>
 /// <param name="stringSanitizer">
 /// The dependency injected <see cref="IStringSanitizer"/> instance.
 /// </param>
 public Default2DRenderUtilities(
     IStringSanitizer stringSanitizer,
     IAssetManagerProvider assetManagerProvider)
 {
     this.m_StringSanitizer = stringSanitizer;
     this.m_ColorEffect     = assetManagerProvider.GetAssetManager().Get <EffectAsset>("effect.Color").Effect;
 }
 public Default2DRenderUtilities(
     IStringSanitizer stringSanitizer)
 {
     _stringSanitizer = stringSanitizer;
 }
Exemple #5
0
 public Default2DRenderUtilities(
     IStringSanitizer stringSanitizer)
 {
     _stringSanitizer = stringSanitizer;
 }
 public XSSObjectSanitizer()
 {
     Sanitizer = new XSSStringSanitizer();
 }