Exemple #1
0
        public SessionObjectCommand(GoodObject sessionObject)
        {
            if (sessionObject == null)
            {
                throw new ArgumentNullException(nameof(sessionObject));
            }

            _sessionObject = sessionObject;
        }
Exemple #2
0
        public ServiceAndSessionObjectCommand(ISampleService service, GoodObject sessionObject)
        {
            if (service == null)
            {
                throw new ArgumentNullException(nameof(service));
            }

            if (sessionObject == null)
            {
                throw new ArgumentNullException(nameof(sessionObject));
            }
        }
Exemple #3
0
 public NoParameterlessConstructorObject(GoodObject other)
 {
 }