public SessionObjectCommand(GoodObject sessionObject) { if (sessionObject == null) { throw new ArgumentNullException(nameof(sessionObject)); } _sessionObject = sessionObject; }
public ServiceAndSessionObjectCommand(ISampleService service, GoodObject sessionObject) { if (service == null) { throw new ArgumentNullException(nameof(service)); } if (sessionObject == null) { throw new ArgumentNullException(nameof(sessionObject)); } }
public NoParameterlessConstructorObject(GoodObject other) { }