Catel.Fody.CecilExtensions.Import C# (CSharp) Метод

Import() публичный статический Метод

public static Import ( this typeReference, bool checkForNullableValueTypes = false ) : TypeReference
typeReference this
checkForNullableValueTypes bool
Результат Mono.Cecil.TypeReference
        public static TypeReference Import(this TypeReference typeReference, bool checkForNullableValueTypes = false)
        {
            var module = FodyEnvironment.ModuleDefinition;

            if (checkForNullableValueTypes)
            {
                var nullableValueType = typeReference.GetNullableValueType();
                if (nullableValueType != null)
                {
                    return module.Import(nullableValueType);
                }
            }

            return module.Import(typeReference);
        }