DomainDrivenDelivery.Reporting.Api.Handling.setType C# (CSharp) Method

setType() public method

public setType ( string type ) : void
type string
return void
        public void setType(string type)
        {
            this.type = type;
        }

Usage Example

Example #1
0
 private Handling assembleFrom(HandlingEvent handlingEvent)
 {
     Handling handling = new Handling();
     handling.setLocation(handlingEvent.Location.Name);
     handling.setType(handlingEvent.Activity.Type.ToString());
     handling.setVoyage(handlingEvent.Voyage.VoyageNumber.Value);
     return handling;
 }
All Usage Examples Of DomainDrivenDelivery.Reporting.Api.Handling::setType