C# Class Dynamo.Applications.StartupUtils

Mostrar archivo Open project: DynamoDS/Dynamo Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return List

MakeModel() public static method

public static MakeModel ( bool CLImode ) : DynamoModel
CLImode bool
return Dynamo.Models.DynamoModel

PreloadShapeManager() public static method

public static PreloadShapeManager ( string &geometryFactoryPath, string &preloaderLocation ) : void
geometryFactoryPath string
preloaderLocation string
return void

SetLocale() public static method

public static SetLocale ( CommandLineArguments cmdLineArgs ) : string
cmdLineArgs CommandLineArguments
return string