internal static PluginAccount CreatePluginAccount(PluginName pluginName, AccountName accountName,
		                                                PluginProfile[] pluginProfiles)
        {
            return new PluginAccount
                   	{
                   		PluginName = pluginName,
                   		Name = accountName,
                   		PluginProfiles = pluginProfiles
                   	};
        }
Ejemplo n.º 2
0
 public bool Equals(PluginName other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Value, Value));
 }
 public bool Equals(PluginName other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Value, Value);
 }
		public PluginContextSnapshot(AccountName accountName, ProfileName profileName, PluginName pluginName)
		{
			_accountName = accountName;
			_profileName = profileName;
			_pluginName = pluginName;
		}