Deveel.Data.ServiceUseOptions.Validate C# (CSharp) Метод

Validate() приватный Метод

private Validate ( ) : void
Результат void
        internal void Validate()
        {
            if (instance == null && implType == null) {
                if (ServiceType.IsAbstract ||
                    ServiceType.IsInterface)
                    throw new InvalidOperationException(
                        String.Format("The type '{0}' is not instantiable and no implementation was specified", ServiceType));
            }
        }