Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        /// <param name="type"></param>
        /// <param name="instance"></param>
        /// <param name="allowExceptions"></param>
        /// <returns></returns>
        public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)
        {
            SPLicenseFile license = serviceLicense.GetLicense(type, instance, allowExceptions);

            //SPLicenseFile license = new SPLicenseFile(type,"This is a key");
            //SPLicenseFile license = serviceLicense.GetLicense(type, instance, allowExceptions);

            //license = serviceLicense.SetLicense(type, license);

            return(license);
        }