Summer.Batch.Common.Util.AttributeAccessorSupport Class Reference

Support class for AttributeAccessors, providing a base implementation of all methods. To be extended by subclasses. More...

Inheritance diagram for Summer.Batch.Common.Util.AttributeAccessorSupport:
Summer.Batch.Common.Util.IAttributeAccessor Summer.Batch.Core.Scope.Context.ChunkContext

Public Member Functions

void SetAttribute (string name, object val)
 Sets the attribute. More...
 
object GetAttribute (string name)
 Returns the attribute. More...
 
object RemoveAttribute (string name)
 Removes the attribute from the dictionary. More...
 
bool HasAttribute (string name)
 Tests if this key is present in the attributes dictionary. More...
 
string[] AttributeNames ()
 Dumps keys to an array of string. More...
 
void Dispose ()
 see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx More...
 

Detailed Description

Support class for AttributeAccessors, providing a base implementation of all methods. To be extended by subclasses.

Member Function Documentation

string [] Summer.Batch.Common.Util.AttributeAccessorSupport.AttributeNames ( )

Dumps keys to an array of string.

Returns

Implements Summer.Batch.Common.Util.IAttributeAccessor.

void Summer.Batch.Common.Util.AttributeAccessorSupport.Dispose ( )
object Summer.Batch.Common.Util.AttributeAccessorSupport.GetAttribute ( string  name)

Returns the attribute.

Parameters
name
Returns

Implements Summer.Batch.Common.Util.IAttributeAccessor.

bool Summer.Batch.Common.Util.AttributeAccessorSupport.HasAttribute ( string  name)

Tests if this key is present in the attributes dictionary.

Parameters
name
Returns

Implements Summer.Batch.Common.Util.IAttributeAccessor.

object Summer.Batch.Common.Util.AttributeAccessorSupport.RemoveAttribute ( string  name)

Removes the attribute from the dictionary.

Parameters
name
Returns

Implements Summer.Batch.Common.Util.IAttributeAccessor.

void Summer.Batch.Common.Util.AttributeAccessorSupport.SetAttribute ( string  name,
object  val 
)

Sets the attribute.

Parameters
name
val

Implements Summer.Batch.Common.Util.IAttributeAccessor.


The documentation for this class was generated from the following file:
  • Summer.Batch.Common/Util/AttributeAccessorSupport.cs