C# Class Dynamo.Applications.StartupUtils

Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Méthodes publiques

Méthode Description
CheckAssemblyForVersionMismatches ( Assembly assembly ) : List

Checks that an assembly does not have any dependencies that have already been loaded into the appDomain with an incompatible to the one Dynamo requires.

MakeModel ( bool CLImode ) : DynamoModel
PreloadShapeManager ( string &geometryFactoryPath, string &preloaderLocation ) : void
SetLocale ( CommandLineArguments cmdLineArgs ) : string

Private Methods

Méthode Description
GetVersionMismatchedReferencesInAppDomain ( Assembly assembly, String assemblyNamesToIgnore ) : List
InitializeUpdateManager ( ) : IUpdateManager

if we are building a model for CLI mode, then we don't want to start an updateManager for now, building an updatemanager instance requires finding Dynamo install location which if we are running on mac os or *nix will use different logic then SandboxLookup

Method Details

CheckAssemblyForVersionMismatches() public static méthode

Checks that an assembly does not have any dependencies that have already been loaded into the appDomain with an incompatible to the one Dynamo requires.
public static CheckAssemblyForVersionMismatches ( Assembly assembly ) : List
assembly System.Reflection.Assembly
Résultat List

MakeModel() public static méthode

public static MakeModel ( bool CLImode ) : DynamoModel
CLImode bool
Résultat Dynamo.Models.DynamoModel

PreloadShapeManager() public static méthode

public static PreloadShapeManager ( string &geometryFactoryPath, string &preloaderLocation ) : void
geometryFactoryPath string
preloaderLocation string
Résultat void

SetLocale() public static méthode

public static SetLocale ( CommandLineArguments cmdLineArgs ) : string
cmdLineArgs CommandLineArguments
Résultat string