常用方法
常用方法
常用方法
常用方法
public IBuildIntention <IModuleDefinition> GetBuildIntention(IConversionContext context) { var(toBuild, maker) = ModuleDefinition.Create(); return(new BuildIntention <IModuleDefinition>(toBuild, () => { maker.Build( Scope.Convert(context), StaticInitialization .Select(x => x.GetOrThrow().PossiblyConvert(context)) .OfType <IIsDefinately <ICodeElement> >() .Select(x => x.Value) .ToArray(), Key); })); }