C# Class Castle.MicroKernel.SubSystems.Naming.ComponentName

Inheritance: ISerializable
Mostrar archivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Protected Properties

Property Type Description
allProperties bool
internalService String
internalliteralProperties String
internalproperties System.Collections.Specialized.HybridDictionary

Private Properties

Property Type Description

Public Methods

Method Description
ComponentName ( SerializationInfo info, StreamingContext context ) : System

Serialization constructor.

ComponentName ( String name ) : System

Creates a ComponentName using a name pattern like "service:key=value,key2=value2"

ComponentName ( String service, String properties ) : System

Creates a ComponentName with specified service and properties.

Equals ( object obj ) : bool
GetHashCode ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
ToString ( ) : string
this ( String key ) : String

Protected Methods

Method Description
Setup ( String name ) : void

Parses the full name extracting the service and properties.

SetupProperties ( IDictionary properties ) : void

Validates a properties Hashtable.

SetupProperties ( String properties ) : void

Parses and validate a properties list string like "key=value,key2=value2" and so on.

SetupService ( String service ) : void

Sets up the service. Can be empty but can't be null.

Method Details

ComponentName() public method

Serialization constructor.
public ComponentName ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

ComponentName() public method

Creates a ComponentName using a name pattern like "service:key=value,key2=value2"
public ComponentName ( String name ) : System
name String Complete name
return System

ComponentName() public method

Creates a ComponentName with specified service and properties.
public ComponentName ( String service, String properties ) : System
service String Service name
properties String Property list.
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

Setup() protected method

Parses the full name extracting the service and properties.
protected Setup ( String name ) : void
name String Full name.
return void

SetupProperties() protected method

Validates a properties Hashtable.
protected SetupProperties ( IDictionary properties ) : void
properties IDictionary Property list.
return void

SetupProperties() protected method

Parses and validate a properties list string like "key=value,key2=value2" and so on.
protected SetupProperties ( String properties ) : void
properties String Property list.
return void

SetupService() protected method

Sets up the service. Can be empty but can't be null.
protected SetupService ( String service ) : void
service String
return void

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( String key ) : String
key String
return String

Property Details

allProperties protected_oe property

protected bool allProperties
return bool

internalService protected_oe property

protected String internalService
return String

internalliteralProperties protected_oe property

protected String internalliteralProperties
return String

internalproperties protected_oe property

protected HybridDictionary,System.Collections.Specialized internalproperties
return System.Collections.Specialized.HybridDictionary