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));
            }
        }